diff --git a/Dockerfile b/Dockerfile index acd34dc9e1..92a094be49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,11 +44,13 @@ WORKDIR /app # Enables layer caching COPY package.json yarn.lock ./ -RUN yarn config set workspaces-experimental true -RUN yarn install --frozen-lockfile && yarn cache clean +RUN yarn install --frozen-lockfile COPY . /app +RUN yarn config set workspaces-experimental true +RUN yarn install --frozen-lockfile && yarn cache clean + # needs to be +rw for rm and mkdir /build RUN chmod a+rw /app && \ chmod a+rw /app/packages/picasso && \