diff --git a/Dockerfile b/Dockerfile index 6da73565..ec2f1309 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:11.7 as base +FROM debian:11.7 AS base LABEL maintainers="" LABEL org.opencontainers.image.source=https://github.com/CanastaWiki/Canasta @@ -94,7 +94,7 @@ RUN set -x; \ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && composer self-update 2.1.3 -FROM base as source +FROM base AS source # MediaWiki core RUN set -x; \ @@ -171,7 +171,7 @@ RUN set -x; \ mkdir $MW_HOME/extensions/ \ && mkdir $MW_HOME/skins/ -FROM base as final +FROM base AS final COPY --from=source $MW_HOME $MW_HOME COPY --from=source $MW_ORIGIN_FILES $MW_ORIGIN_FILES