Update Dockerfile

This commit is contained in:
2025-12-04 17:48:36 +07:00
parent a1a180ef33
commit 558ce9f095
+2
View File
@@ -4,4 +4,6 @@ COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD node -e "require('http').get('http://localhost:3000/', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
CMD ["node", "server.js"]