MOBILE-2314 docker: Fix applying patches on build

See https://github.com/ds300/patch-package/issues/185#issuecomment-850051315
main
Noel De Martin 2023-02-21 14:02:48 +01:00
parent e1c431b06a
commit 2a61ff4957
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ WORKDIR /app
# Prepare node dependencies
RUN apt-get update && apt-get install libsecret-1-0 -y
COPY package*.json ./
COPY patches ./patches
RUN echo "unsafe-perm=true" > ./.npmrc
RUN npm ci --no-audit
# Build source