Skip to content

Commit

Permalink
Move all build scripts to the docker building stage (#4224)
Browse files Browse the repository at this point in the history
* Move all scripts

* Changeset
  • Loading branch information
andrzejewsky committed Sep 22, 2023
1 parent 06cc528 commit 4c2815a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-years-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Move all build scripts to the docker image (build stage)
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit 4c2815a

Please sign in to comment.