From b00030b8c4d1a817f50551c87fc3eb1f355e3afc Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Thu, 16 Jan 2025 09:34:34 +0100 Subject: [PATCH] fix container build after Element move to nginx templates (#194) Signed-off-by: Kim Brose --- e2e/src/deploy/elementWeb/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/src/deploy/elementWeb/Dockerfile b/e2e/src/deploy/elementWeb/Dockerfile index fa7c034..4b0e90d 100644 --- a/e2e/src/deploy/elementWeb/Dockerfile +++ b/e2e/src/deploy/elementWeb/Dockerfile @@ -27,7 +27,9 @@ FROM nginx:bookworm COPY --from=builder /src/webapp /app # Override default nginx config -COPY --from=builder /src/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf +COPY --from=builder /src/docker/nginx-templates/* /etc/nginx/templates/ RUN rm -rf /usr/share/nginx/html \ && ln -s /app /usr/share/nginx/html + +ENV ELEMENT_WEB_PORT=80