rename last stage to prduction
This commit is contained in:
parent
8c2252a0d4
commit
9b6c5d0fb8
|
@ -20,11 +20,12 @@ RUN composer install
|
|||
# |--------------------------------------------------------------------------
|
||||
# | 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
|
||||
|
||||
RUN apk update && \
|
||||
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
|
||||
rm /etc/nginx/http.d/default.conf
|
||||
|
||||
COPY --from=composer /build/public .
|
||||
COPY ./nginx.conf /etc/nginx/http.d/default.conf
|
||||
|
|
Loading…
Reference in a new issue