Cloud_Computing_II/Dockerfile.Frontend
H4CK3R-01 5aa3f15a42
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Trying to fix pipeline 4
2023-03-13 15:03:37 +01:00

7 lines
276 B
Docker

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