From 4c2815a360e63d389670846ea271611f9147082e Mon Sep 17 00:00:00 2001 From: Patryk Andrzejewski Date: Fri, 22 Sep 2023 09:01:23 +0200 Subject: [PATCH] Move all build scripts to the docker building stage (#4224) * Move all scripts * Changeset --- .changeset/thick-years-scream.md | 5 +++++ Dockerfile | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/thick-years-scream.md diff --git a/.changeset/thick-years-scream.md b/.changeset/thick-years-scream.md new file mode 100644 index 00000000000..61efffabde5 --- /dev/null +++ b/.changeset/thick-years-scream.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Move all build scripts to the docker image (build stage) diff --git a/Dockerfile b/Dockerfile index 30b423f91d1..f8ba24b904c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,7 @@ RUN npm ci --legacy-peer-deps COPY nginx/ nginx/ COPY assets/ assets/ COPY locale/ locale/ -COPY scripts/removeSourcemaps.js scripts/ -COPY scripts/build-types.js scripts/ +COPY scripts/ scripts/ COPY vite.config.js ./ COPY tsconfig.json ./ COPY sw.js ./