You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
629 B
21 lines
629 B
# Optional: eigenständiges Image, falls du es in eine Registry schieben
|
|
# oder ohne Bind-Mounts betreiben willst.
|
|
#
|
|
# docker build -f deploy/Dockerfile -t td-pult:latest .
|
|
# docker run -d -p 8087:80 --name td-pult td-pult:latest
|
|
#
|
|
# Vor dem Bauen müssen deploy/htpasswd und deploy/site/index.html vorhanden sein.
|
|
|
|
FROM nginx:1.27-alpine
|
|
|
|
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY deploy/htpasswd /etc/nginx/.htpasswd
|
|
COPY deploy/site/ /usr/share/nginx/html/
|
|
|
|
RUN chmod 644 /etc/nginx/.htpasswd
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s \
|
|
CMD wget -qO- http://127.0.0.1/healthz || exit 1
|
|
|
|
EXPOSE 80
|