From 47956ee86b1579d31fe3f0c8c445fe076b776246 Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas@jonasled.de> Date: Tue, 18 Jan 2022 19:45:29 +0000 Subject: [PATCH] add nginx 404 page --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5e95e9..1203d2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,5 +22,7 @@ RUN composer install # |-------------------------------------------------------------------------- FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest 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 ./nginx.conf /etc/nginx/http.d/default.conf -- GitLab