rename last stage to prduction
This commit is contained in:
parent
8c2252a0d4
commit
9b6c5d0fb8
1 changed files with 2 additions and 1 deletions
|
@ -20,11 +20,12 @@ RUN composer install
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
# | Install Webserver
|
# | Install Webserver
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
|
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest as production
|
||||||
ENV PHP_FILE_UPLOADS=Off
|
ENV PHP_FILE_UPLOADS=Off
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
|
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
|
||||||
rm /etc/nginx/http.d/default.conf
|
rm /etc/nginx/http.d/default.conf
|
||||||
|
|
||||||
COPY --from=composer /build/public .
|
COPY --from=composer /build/public .
|
||||||
COPY ./nginx.conf /etc/nginx/http.d/default.conf
|
COPY ./nginx.conf /etc/nginx/http.d/default.conf
|
||||||
|
|
Loading…
Reference in a new issue