Move COPY back down
This commit is contained in:
parent
bd3fc10d7d
commit
7366057ce1
@ -46,8 +46,6 @@ ENV NEXTCLOUD_VERSION 10.0.6
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -65,6 +63,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
@ -44,8 +44,6 @@ ENV NEXTCLOUD_VERSION 10.0.6
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -63,6 +61,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["php-fpm"]
|
||||
|
@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION 11.0.4
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
@ -45,8 +45,6 @@ ENV NEXTCLOUD_VERSION 11.0.4
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -64,6 +62,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["php-fpm"]
|
||||
|
@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION 12.0.2
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
|
@ -45,8 +45,6 @@ ENV NEXTCLOUD_VERSION 12.0.2
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -64,6 +62,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["php-fpm"]
|
||||
|
@ -47,8 +47,6 @@ ENV NEXTCLOUD_VERSION %%VERSION%%
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -66,6 +64,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["%%CMD%%"]
|
||||
|
@ -46,8 +46,6 @@ ENV NEXTCLOUD_VERSION %%VERSION%%
|
||||
RUN chown -R www-data:root /var/www/html
|
||||
VOLUME /var/www/html
|
||||
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
|
||||
&& curl -fsSL -o nextcloud.tar.bz2.asc \
|
||||
@ -65,6 +63,7 @@ RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||
&& chmod +x /usr/src/nextcloud/occ
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["%%CMD%%"]
|
||||
|
Loading…
Reference in New Issue
Block a user