add nginx 404 page

This commit is contained in:
Jonas Leder 2022-01-18 19:45:29 +00:00
parent 61889809e9
commit 47956ee86b

View file

@ -22,5 +22,7 @@ RUN composer install
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
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
COPY --from=composer /build/public . COPY --from=composer /build/public .
COPY ./nginx.conf /etc/nginx/http.d/default.conf