|
|
|
|
@ -44,6 +44,8 @@ RUN a2enmod rewrite
|
|
|
|
|
ENV NEXTCLOUD_VERSION 10.0.5
|
|
|
|
|
VOLUME /var/www/html
|
|
|
|
|
|
|
|
|
|
COPY config/* /usr/src/nextcloud/config/
|
|
|
|
|
|
|
|
|
|
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
|
|
|
|
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
|
|
|
|
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
|
|
|
|
@ -69,7 +71,6 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
|
|
|
|
&& chmod +x /usr/src/nextcloud/occ
|
|
|
|
|
|
|
|
|
|
COPY docker-entrypoint.sh /entrypoint.sh
|
|
|
|
|
COPY apps.config.php /usr/src/nextcloud/config/apps.config.php
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
CMD ["apache2-foreground"]
|
|
|
|
|
|