improve healthcheck

This commit is contained in:
poma 2019-11-10 03:55:46 +03:00
parent f5f50a2a17
commit 8af8f46212

View File

@ -6,5 +6,5 @@ RUN npm install && npm cache clean --force
COPY . . COPY . .
EXPOSE 8000 EXPOSE 8000
HEALTHCHECK CMD curl -f http://localhost:8000/ HEALTHCHECK CMD curl -f http://localhost:8000/status
CMD ["npm", "run", "start"] CMD ["npm", "run", "start"]