Skip to content

Commit 2a61ff4

Browse files
committed
MOBILE-2314 docker: Fix applying patches on build
See ds300/patch-package#185 (comment)
1 parent e1c431b commit 2a61ff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ WORKDIR /app
66
# Prepare node dependencies
77
RUN apt-get update && apt-get install libsecret-1-0 -y
88
COPY package*.json ./
9+
COPY patches ./patches
10+
RUN echo "unsafe-perm=true" > ./.npmrc
911
RUN npm ci --no-audit
1012

1113
# Build source

0 commit comments

Comments
 (0)