Fixed healthcheck
This commit is contained in:
parent
9ea9c2175f
commit
97d166d0b1
@ -13,9 +13,12 @@ RUN ls /usr/local/app/dist
|
|||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
|
|
||||||
COPY --from=build /usr/local/app/dist/aktienbot /usr/share/nginx/html
|
COPY --from=build /usr/local/app/dist/aktienbot /usr/share/nginx/html
|
||||||
|
|
||||||
COPY frontend/deploy/nginx.conf /etc/nginx
|
COPY frontend/deploy/nginx.conf /etc/nginx
|
||||||
COPY frontend/deploy deploy/
|
COPY frontend/deploy deploy/
|
||||||
|
|
||||||
|
RUN chmod +x ./deploy/healthcheck.sh
|
||||||
|
|
||||||
HEALTHCHECK --interval=15s --timeout=2s CMD ["./deploy/healthcheck.sh"]
|
HEALTHCHECK --interval=15s --timeout=2s CMD ["./deploy/healthcheck.sh"]
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Loading…
Reference in New Issue
Block a user