Fixed healthcheck

This commit is contained in:
Administrator 2022-03-17 19:57:36 +01:00
parent 9ea9c2175f
commit 97d166d0b1

View File

@ -13,9 +13,12 @@ RUN ls /usr/local/app/dist
FROM nginx:latest
COPY --from=build /usr/local/app/dist/aktienbot /usr/share/nginx/html
COPY frontend/deploy/nginx.conf /etc/nginx
COPY frontend/deploy deploy/
RUN chmod +x ./deploy/healthcheck.sh
HEALTHCHECK --interval=15s --timeout=2s CMD ["./deploy/healthcheck.sh"]
EXPOSE 80