media-server-docker-compose/nextcloud/app/Dockerfile

16 lines
358 B
Docker
Raw Normal View History

2024-04-10 13:43:42 -04:00
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"]