1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-12 23:05:42 +02:00

moved nginx into php dockerfile, start not automatic yet

This commit is contained in:
niiwiicamo 2024-07-23 16:07:21 +02:00
parent 75cdfe319a
commit 465c7447f3
5 changed files with 53 additions and 12 deletions

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
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
VOLUME /var/www/html
WORKDIR /var/www/html
EXPOSE 80