This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
epubreader/Dockerfile

22 lines
636 B
Docker
Raw Normal View History

2023-12-13 06:41:54 +00:00
FROM nextcloud:28
ENV NEXTCLOUD_UPDATE 1
ENV NEXTCLOUD_ADMIN_USER epubreader
ENV NEXTCLOUD_ADMIN_PASSWORD epubreader
ENV NEXTCLOUD_INIT_HTACCESS 1
ENV SQLITE_DATABASE epubreader
RUN curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar && \
chmod +x /usr/local/bin/composer && \
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
/entrypoint.sh true
USER www-data
COPY --chown=www-data:www-data . apps/epubreader
RUN cd apps/epubreader && composer install && cd - && \
php occ app:enable epubreader && \
php occ config:system:set debug --value=true
USER root