Add healthcheck

This commit is contained in:
schmelczerandras 2020-09-12 12:17:51 +02:00
parent c362032aea
commit d078d67d58

View file

@ -15,6 +15,8 @@ RUN npm run build
FROM nginx:alpine
HEALTHCHECK --interval=1m --timeout=10s CMD curl --fail http://localhost/ || exit 1
WORKDIR /usr/share/nginx/html
RUN rm -rf *