Newer
Older
FROM nextcloud:${MARKETTING_VERSION}-fpm-alpine
ENV VERSION $PATCH_VERSION
ENV VISIO_URL=https://meet.liiib.re
COPY opcache-recommended.ini /usr/local/etc/php/conf.d/opcache.ini
COPY workers.conf /usr/local/etc/php-fpm.d/workers.conf
COPY --chown=www-data:root config/* /usr/src/nextcloud/config/
COPY --from=apps --chown=www-data:root /apps/* /usr/src/nextcloud/apps/
COPY --chown=www-data:root ./apps/liiibre /usr/src/nextcloud/apps/liiibre
COPY --chown=www-data:root ./apps/multioffice /usr/src/nextcloud/apps/multioffice
COPY --chown=www-data:root ./apps/customnav /usr/src/nextcloud/apps/customnav
COPY ./img/logo /usr/src/nextcloud/core/img/logo
COPY ./img/favicon.ico /usr/src/nextcloud/core/img/favicon.ico
COPY refresh_config.sh /refresh_config.sh
RUN for app in $(cat /usr/src/nextcloud/apps/remove-list);do \
touch ./data/.ocdata; \
chown -R www-data:root /usr/src/nextcloud; \
rm /usr/src/nextcloud/config/autoconfig.php /usr/src/nextcloud/config/config.sample.php;
RUN apk add --no-cache fcgi
COPY php-fpm-healthcheck /php-fpm-healthcheck