Update q1-deploy-monitor/Dockerfile

This commit is contained in:
2026-07-26 20:19:38 +00:00
parent 48159b643f
commit 39bb0154ed
+5
View File
@@ -7,6 +7,11 @@ RUN npm ci --only=production
COPY . .
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:3000/health || exit 1
CMD ["npm","start"]