From 73a291e3ebe4f9bef70d911bc697e1e3a6be2398 Mon Sep 17 00:00:00 2001 From: dawn Date: Mon, 21 Sep 2026 15:54:41 +0300 Subject: [PATCH] web/Containerfile: copy workspace config, and keep build output out of the context Signed-off-by: dawn --- web/.dockerignore | 8 ++++++++ web/Containerfile | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 web/.dockerignore diff --git a/web/.dockerignore b/web/.dockerignore new file mode 100644 index 000000000..117a21252 --- /dev/null +++ b/web/.dockerignore @@ -0,0 +1,8 @@ +node_modules +build +.svelte-kit +.wrangler +test-results +storybook-static +.env +.env.* diff --git a/web/Containerfile b/web/Containerfile index 9e134490c..d8c6a06c3 100644 --- a/web/Containerfile +++ b/web/Containerfile @@ -1,7 +1,8 @@ FROM node:24-slim AS deps WORKDIR /app RUN corepack enable -COPY package.json pnpm-lock.yaml ./ +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ +COPY patches ./patches RUN corepack pnpm install --frozen-lockfile FROM node:24-slim AS build -- 2.51.2