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:
parent
75cdfe319a
commit
465c7447f3
5 changed files with 53 additions and 12 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue