From fab75fb52cac3d39edb83434df9caa470df1c568 Mon Sep 17 00:00:00 2001 From: niiwiicamo Date: Thu, 24 Oct 2024 09:01:30 +0200 Subject: [PATCH] . --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5940e29..6984202 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ WORKDIR /var/www/html/public COPY --chown=www-data:www-data ./data/src/ /var/www/html/public/src COPY --chown=www-data:www-data ./data/update.php /var/www/html/public COPY --chown=www-data:www-data ./data/.env.dist /var/www/html/public/.env +RUN mkdir -p /make-executable +COPY --chown=root:root data/etc/ /etc RUN sed -i "s|listen \[::\]:8080 default_server;|# \0|" /etc/nginx/site-opts.d/http.conf.template HEALTHCHECK --interval= --timeout=5s --start-period=10s CMD curl --insecure --silent --location --show-error --fail http://localhost:8080$HEALTHCHECK_PATH || exit 1 LABEL org.opencontainers.image.source=https://github.com/niiwiicamo/owndyndns