Use --immutable flag whenever "yarn install" is called by a tool

Fixes #347

Change-Id: I1b8423f9cef46a425c1ec7665c8285af10c56df6
This commit is contained in:
Manuel Stahl
2024-02-07 17:36:36 +01:00
parent d1e9f38b14
commit ae7f6e18e5
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ ARG REACT_APP_SERVER
WORKDIR /src
COPY . /src
RUN yarn --network-timeout=300000 install
RUN yarn --network-timeout=300000 install --immutable
RUN REACT_APP_SERVER=$REACT_APP_SERVER yarn build