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