File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ RUN apt-get update \
77 libicu-dev \
88 libzip-dev \
99 procps \
10- rsync \
1110 unzip \
1211 # cron
1312 busybox-static \
@@ -60,6 +59,8 @@ COPY config/php/* /usr/local/etc/php/conf.d/
6059COPY scripts/* /var/www/scripts/
6160COPY bin/* /usr/local/bin/
6261
62+ VOLUME /var/www/html
63+
6364WORKDIR /var/www/html
6465
6566ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ RUN apt-get update \
77 libicu-dev \
88 libzip-dev \
99 procps \
10- rsync \
1110 unzip \
1211 # cron
1312 busybox-static \
@@ -60,6 +59,8 @@ COPY config/php/* /usr/local/etc/php/conf.d/
6059COPY scripts/* /var/www/scripts/
6160COPY bin/* /usr/local/bin/
6261
62+ VOLUME /var/www/html
63+
6364WORKDIR /var/www/html
6465
6566ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ RUN apt-get update \
77 libicu-dev \
88 libzip-dev \
99 procps \
10- rsync \
1110 unzip \
1211 # cron
1312 busybox-static \
@@ -60,6 +59,8 @@ COPY config/php/* /usr/local/etc/php/conf.d/
6059COPY scripts/* /var/www/scripts/
6160COPY bin/* /usr/local/bin/
6261
62+ VOLUME /var/www/html
63+
6364WORKDIR /var/www/html
6465
6566ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ groupmod --non-unique --gid "${HOST_GID}" www-data
66
77# Clone Nextcloud repository, if needed
88if [ ! -d " .git" ]; then
9- git clone --progress --single-branch --depth 1 --branch " ${VERSION_NEXTCLOUD} " --recurse-submodules -j 4 https://github.com/nextcloud/server /tmp/nextcloud
10- rsync -r /tmp/nextcloud/ .
11- rm -rf /tmp/nextcloud
9+ git clone --progress --single-branch --depth 1 --branch " ${VERSION_NEXTCLOUD} " --recurse-submodules -j 4 https://github.com/nextcloud/server /var/www/html
1210 mkdir data
1311 mkdir apps-writable
1412 mkdir apps-extra
You can’t perform that action at this time.
0 commit comments