16 lines
358 B
Docker
16 lines
358 B
Docker
|
FROM nextcloud:apache
|
||
|
|
||
|
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
|
||
|
|
||
|
ARG NEXTCLOUD_DATA_DIR="/storage/"
|
||
|
|
||
|
RUN echo ${NEXTCLOUD_DATA_DIR}
|
||
|
RUN mkdir -p ${NEXTCLOUD_DATA_DIR}; \
|
||
|
chown -R www-data:root ${NEXTCLOUD_DATA_DIR}; \
|
||
|
chmod -R g=u ${NEXTCLOUD_DATA_DIR}
|
||
|
|
||
|
VOLUME ${NEXTCLOUD_DATA_DIR}
|
||
|
|
||
|
#ENTRYPOINT ["/entrypoint.sh"]
|
||
|
#CMD ["php-fpm"]
|