1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-10 06:05:13 +02:00

fixed order

This commit is contained in:
niiwiicamo 2024-10-24 09:32:29 +02:00
parent fab75fb52c
commit 0395e8a3b9

View file

@ -1,5 +1,7 @@
FROM serversideup/php:8.3-fpm-nginx-alpine
USER root
RUN mkdir -p /make-executable
COPY --chown=root:root data/etc/ /etc
RUN mkdir -p /var/www/html/public/src &&\
install-php-extensions soap
USER www-data
@ -7,8 +9,6 @@ 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