From a0cf31ad1b6da7f654ea4a58f900a9e98bff66ad Mon Sep 17 00:00:00 2001 From: Zoey Date: Fri, 12 May 2023 17:57:02 +0200 Subject: [PATCH] put scripts into / Signed-off-by: Zoey --- Containers/apache/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Containers/apache/Dockerfile b/Containers/apache/Dockerfile index 79c4e0e8..7a95ff06 100644 --- a/Containers/apache/Dockerfile +++ b/Containers/apache/Dockerfile @@ -9,8 +9,8 @@ COPY --chown=www-data:www-data Caddyfile /Caddyfile COPY --chmod=664 nextcloud.conf /usr/local/apache2/conf/nextcloud.conf COPY --chmod=664 supervisord.conf /supervisord.conf -COPY --chmod=775 start.sh /usr/bin/start.sh -COPY --chmod=775 healthcheck.sh /usr/bin/healthcheck.sh +COPY --chmod=775 start.sh /start.sh +COPY --chmod=775 healthcheck.sh /healthcheck.sh VOLUME /mnt/data @@ -68,8 +68,8 @@ RUN set -ex; \ USER www-data -ENTRYPOINT ["start.sh"] +ENTRYPOINT ["/start.sh"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] -HEALTHCHECK CMD healthcheck.sh +HEALTHCHECK CMD /healthcheck.sh LABEL com.centurylinklabs.watchtower.monitor-only="true"