Skip to content

Commit

Permalink
Fix docker build for feature flags (#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw authored and poulch committed Aug 29, 2023
1 parent e292059 commit fdc7bc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-chefs-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Fix docker build with feature flags
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /app
COPY package*.json ./
COPY scripts/patchReactVirtualized.js scripts/
ENV CI 1
RUN npm ci --omit=optional --legacy-peer-deps
RUN npm ci --legacy-peer-deps

COPY nginx/ nginx/
COPY assets/ assets/
Expand All @@ -17,6 +17,7 @@ COPY *.d.ts ./
COPY schema.graphql ./
COPY introspection.json ./
COPY introspection*.json ./
COPY .featureFlags/ .featureFlags/

COPY src/ src/

Expand Down

0 comments on commit fdc7bc9

Please sign in to comment.