From 48a1dfb5702f96374e27108d966d88ad97aa4a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20R=C3=B6nkk=C3=B6?= Date: Fri, 8 Aug 2025 08:28:40 +0300 Subject: [PATCH] Only invalidate ui build layer when NEXT_PUBLIC_GIT value changes Previously also the db build layer was invalidated even if the NEXT_PUBLIC_GIT is not used there. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b68cc644d..aa4f6c5af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ COPY ./ui/public ./ui/public COPY ./ui/tsconfig.json ./ui/next.config.js ./ui/next-env.d.ts ./ui/tailwind.config.js ./ui/postcss.config.js ./ui/convert-theme-to-ts.js ./ui/theme.js ./ui/graphql.schema.json ./ui/ COPY ./test-db-manager/rollup.config.mjs ./test-db-manager/tsconfig.json ./test-db-manager/ -ARG NEXT_PUBLIC_GIT_HASH=unknown RUN yarn ws:db run build +ARG NEXT_PUBLIC_GIT_HASH=unknown RUN yarn ws:ui run build FROM nginx:1.24.0-alpine