mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-27 06:18:06 +09:00
[docker] Fix yarn cache not being loaded due to missing files in dependency yarn pass
This commit is contained in:
parent
bf64af37af
commit
3a02f5492f
@ -7,7 +7,7 @@ WORKDIR /iceshrimp
|
||||
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 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/client/package.json packages/client/package.json
|
||||
COPY packages/sw/package.json packages/sw/package.json
|
||||
|
Loading…
Reference in New Issue
Block a user