re-order some things

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-05-26 14:47:02 +02:00
parent c50132a27a
commit d18b58d2a1

View file

@ -1,26 +1,18 @@
# From https://github.com/nextcloud/docker/blob/master/23/fpm-alpine/Dockerfile # From https://github.com/nextcloud/docker/blob/master/23/fpm-alpine/Dockerfile
FROM php:8.1.19-fpm-alpine3.17 FROM php:8.1.19-fpm-alpine3.17
VOLUME /var/www/html
ENV PHP_MEMORY_LIMIT 512M ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600 ENV PHP_MAX_TIME 3600
ENV NEXTCLOUD_VERSION 26.0.2 ENV NEXTCLOUD_VERSION 26.0.2
COPY *.sh upgrade.exclude / COPY --chmod=775 *.sh /
COPY upgrade.exclude /upgrade.exclude
COPY config/* /usr/src/nextcloud/config/ COPY config/* /usr/src/nextcloud/config/
ENV NEXTCLOUD_UPDATE=1
COPY supervisord.conf /supervisord.conf COPY supervisord.conf /supervisord.conf
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 notify.sh /notify.sh
COPY --chmod=775 notify-all.sh /notify-all.sh
VOLUME /mnt/ncdata VOLUME /mnt/ncdata
VOLUME /var/www/html
# Custom: change id of www-data user as it needs to be the same like on old installations # Custom: change id of www-data user as it needs to be the same like on old installations
RUN set -ex; \ RUN set -ex; \