1
0
mirror of https://github.com/Adam-Ant/media-server-in-a-box synced 2025-06-13 11:31:13 +00:00

Add custom PHP image for organizr

This commit is contained in:
Adam Dodman
2017-09-25 15:34:49 +01:00
parent 68dc22e614
commit c87ae6b31a
3 changed files with 38 additions and 1 deletions

16
php/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM alpine:3.6
MAINTAINER "Adam Dodman <adam.dodman@gmx.com>"
RUN addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data \
&& apk add --no-cache php7-zip php7-curl php7-fpm php7-sqlite3 php7-pdo_sqlite php7-session php7-json php7-simplexml tini \
&& rm /etc/php7/php-fpm.d/*
ADD docker.conf /etc/php7/php-fpm.d/
EXPOSE 9000
CMD ["/sbin/tini","--","php-fpm7"]