nextcloud/Dockerfile

26 lines
548 B
Docker
Raw Normal View History

2018-01-29 21:07:48 +00:00
FROM registry.gitlab.com/thallian/docker-php7-fpm:master
2016-08-31 12:55:12 +00:00
2016-11-01 13:40:10 +00:00
ENV FPMUSER nginx
ENV FPMGROUP nginx
2017-01-30 12:21:49 +00:00
RUN apk add --no-cache \
nginx \
postgresql-client \
2018-01-29 21:07:48 +00:00
nextcloud \
nextcloud-user_ldap \
2018-01-30 08:57:44 +00:00
nextcloud-files_sharing \
nextcloud-files_texteditor \
2018-01-30 07:36:21 +00:00
nextcloud-pgsql \
php7-opcache
2016-11-01 13:40:10 +00:00
2016-08-31 12:55:12 +00:00
RUN chown -R nginx:nginx /var/lib/nextcloud
2018-01-30 07:36:21 +00:00
RUN chown -R nginx:nginx /etc/nextcloud
2018-01-29 21:07:48 +00:00
RUN chown -R nginx:nginx /usr/share/webapps/nextcloud
2016-08-31 12:55:12 +00:00
RUN mkdir /run/nginx
2018-01-29 21:08:27 +00:00
RUN rm /etc/nginx/conf.d/default.conf
2016-08-31 12:55:12 +00:00
2016-11-01 13:40:10 +00:00
ADD /rootfs /
2016-08-31 12:55:12 +00:00
VOLUME /var/lib/nextcloud/data