Skip to content

Commit

Permalink
re-order some things
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed May 26, 2023
1 parent 651d134 commit 4472d35
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Containers/nextcloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
# From https://github.com/nextcloud/docker/blob/master/23/fpm-alpine/Dockerfile
FROM php:8.0.28-fpm-alpine3.16

VOLUME /var/www/html

ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600

ENV NEXTCLOUD_VERSION 25.0.6

COPY *.sh upgrade.exclude /
COPY --chmod=775 *.sh /
COPY upgrade.exclude /upgrade.exclude
COPY config/* /usr/src/nextcloud/config/

ENV NEXTCLOUD_UPDATE=1

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 /var/www/html

# Custom: change id of www-data user as it needs to be the same like on old installations
RUN set -ex; \
Expand Down

0 comments on commit 4472d35

Please sign in to comment.