Cloud_Computing_II/frontend/Dockerfile
H4CK3R-01 c0005f38d5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added healthchecks
2023-03-13 13:37:23 +01:00

7 lines
249 B
Docker

FROM nginx:latest
COPY ./index.html /usr/share/nginx/html/index.html
COPY ./index.css /usr/share/nginx/html/index.css
COPY ./index.js /usr/share/nginx/html/index.js
HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://localhost/ || exit 1