Update:Remove healthcheck from Dockerfile

This commit is contained in:
advplyr 2023-07-20 16:59:46 -05:00
parent 3f380b0839
commit 838a24c8a5

View File

@ -32,9 +32,5 @@ RUN apk del make python3 g++
ENV NODE_OPTIONS=--max-old-space-size=4096 ENV NODE_OPTIONS=--max-old-space-size=4096
EXPOSE 80 EXPOSE 80
HEALTHCHECK \
--interval=30s \
--timeout=3s \
--start-period=10s \
CMD curl -f http://127.0.0.1/healthcheck || exit 1
CMD ["node", "index.js"] CMD ["node", "index.js"]