From 2ddff15497087c0a443b363738d1b489293b330f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Fri, 9 Jan 2026 19:17:31 +0100 Subject: [PATCH] (bugfix) Dockerfile: `hosts` file was copied in wrong step --- web-app/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-app/Dockerfile b/web-app/Dockerfile index 85b8958..6647f68 100644 --- a/web-app/Dockerfile +++ b/web-app/Dockerfile @@ -12,9 +12,6 @@ RUN apk add --no-cache libc6-compat WORKDIR /app -# copy custom hosts file to avoid issues with some auth providers -COPY ./etc/hosts /etc/hosts - # Copy package files COPY ./package.json ./package-lock.json ./ @@ -41,6 +38,9 @@ COPY --from=builder /app/public/* /app/public/ # this file is required for the pdfjs-dist package COPY --from=builder /app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs /app/public/pdf.worker.min.mjs +# copy custom hosts file to avoid issues with some auth providers +COPY ./etc/hosts /etc/hosts + # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nonroot:nonroot /app/.next/standalone ./