15 lines
366 B
Docker
15 lines
366 B
Docker
FROM docker.io/library/nginx:alpine
|
|
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
COPY src/index.html /usr/share/nginx/html/
|
|
COPY src/style.css /usr/share/nginx/html/
|
|
COPY src/script.js /usr/share/nginx/html/
|
|
|
|
EXPOSE 8080
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
|
|
|
|
CMD wget -qO- http://localhost:8080/ || exit 1 |