[docker] Fix yarn cache not being loaded due to missing files in dependency yarn pass
This commit is contained in:
parent
bf64af37af
commit
3a02f5492f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ WORKDIR /iceshrimp
|
||||||
RUN apk add --no-cache --no-progress git alpine-sdk vips-dev python3 nodejs-current npm vips
|
RUN apk add --no-cache --no-progress git alpine-sdk vips-dev python3 nodejs-current npm vips
|
||||||
|
|
||||||
# Copy only the dependency-related files first, to cache efficiently
|
# Copy only the dependency-related files first, to cache efficiently
|
||||||
COPY package.json yarn.lock .pnp.cjs .pnp.loader.mjs ./
|
COPY package.json yarn.lock .pnp.cjs .pnp.loader.mjs .yarnrc.yml .env.yarn ./
|
||||||
COPY packages/backend/package.json packages/backend/package.json
|
COPY packages/backend/package.json packages/backend/package.json
|
||||||
COPY packages/client/package.json packages/client/package.json
|
COPY packages/client/package.json packages/client/package.json
|
||||||
COPY packages/sw/package.json packages/sw/package.json
|
COPY packages/sw/package.json packages/sw/package.json
|
||||||
|
|
Loading…
Reference in a new issue