mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-13 07:05:43 +02:00
rebased to serversideup image
This commit is contained in:
parent
465c7447f3
commit
7fdc642a54
2 changed files with 9 additions and 9 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,11 +1,12 @@
|
|||
FROM php:fpm-alpine
|
||||
RUN apk add --no-cache nginx libxml2-dev \
|
||||
&& docker-php-ext-install soap \
|
||||
&& mkdir -p /var/www/html/src
|
||||
COPY ./default.conf /etc/nginx/http.d/default.conf
|
||||
COPY ./data/src/ /var/www/html/src
|
||||
COPY ./data/update.php /var/www/html
|
||||
COPY ./data/.env.dist /var/www/html/.env
|
||||
FROM serversideup/php:8.3-fpm-nginx-alpine
|
||||
USER root
|
||||
RUN mkdir -p /var/www/html/src &&\
|
||||
install-php-extensions soap
|
||||
USER www-data
|
||||
COPY --chown=www-data:www-data ./default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --chown=www-data:www-data ./data/src/ /var/www/html/src
|
||||
COPY --chown=www-data:www-data ./data/update.php /var/www/html
|
||||
COPY --chown=www-data:www-data ./data/.env.dist /var/www/html/.env
|
||||
VOLUME /var/www/html
|
||||
WORKDIR /var/www/html
|
||||
EXPOSE 80
|
Loading…
Add table
Add a link
Reference in a new issue