24 lines
485 B
Docker
24 lines
485 B
Docker
FROM registry.gitlab.com/thallian/docker-php7-fpm:master
|
|
|
|
ENV FPMUSER nginx
|
|
ENV FPMGROUP nginx
|
|
|
|
RUN apk add --no-cache \
|
|
nginx \
|
|
postgresql-client \
|
|
nextcloud \
|
|
nextcloud-user_ldap \
|
|
nextcloud-pgsql \
|
|
php7-opcache
|
|
|
|
RUN chown -R nginx:nginx /var/lib/nextcloud
|
|
RUN chown -R nginx:nginx /etc/nextcloud
|
|
RUN chown -R nginx:nginx /usr/share/webapps/nextcloud
|
|
|
|
RUN mkdir /run/nginx
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
ADD /rootfs /
|
|
|
|
VOLUME /var/lib/nextcloud/data
|