From 5ea5f985c9ac37bbb2fcde2a303d8ee198477b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 6 Nov 2024 12:37:04 +0100 Subject: [PATCH] Use nginx instead of caddy --- .changes/unreleased/Fixed-20241106-123654.yaml | 3 +++ presentation/Dockerfile | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/Fixed-20241106-123654.yaml diff --git a/.changes/unreleased/Fixed-20241106-123654.yaml b/.changes/unreleased/Fixed-20241106-123654.yaml new file mode 100644 index 0000000..330a6c5 --- /dev/null +++ b/.changes/unreleased/Fixed-20241106-123654.yaml @@ -0,0 +1,3 @@ +kind: Fixed +body: Use nginx instead of caddy +time: 2024-11-06T12:36:54.279064955+01:00 diff --git a/presentation/Dockerfile b/presentation/Dockerfile index 48717a3..5cec25c 100644 --- a/presentation/Dockerfile +++ b/presentation/Dockerfile @@ -1,3 +1,6 @@ -FROM caddy:2-alpine +FROM nginx:1-alpine -ADD src/ /usr/share/caddy/ +COPY src /usr/share/nginx/html + +RUN sed -i 's/worker_processes auto/worker_processes 1/' /etc/nginx/nginx.conf +RUN sed -i 's/worker_processes auto/worker_processes 1/' /etc/nginx/nginx.conf