Skip to content

Commit

Permalink
chore: Nodelinker to node_modules (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
gallayl authored Jun 2, 2024
1 parent df53b5b commit 557e4e9
Show file tree
Hide file tree
Showing 3 changed files with 737 additions and 737 deletions.
5 changes: 1 addition & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.2.2.cjs
nodeLinker: node-modules
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ COPY --chown=node:node /service /home/node/app/service
COPY --chown=node:node /package.json /home/node/app/package.json
COPY --chown=node:node /.yarn/releases /home/node/app/.yarn/releases
COPY --chown=node:node /.yarn/sdks /home/node/app/.yarn/sdks
COPY --chown=node:node /.yarn/unplugged /home/node/app/.yarn/unplugged
COPY --chown=node:node /.pnp.cjs /home/node/app/.pnp.cjs
COPY --chown=node:node /.pnp.loader.mjs /home/node/app/.pnp.loader.mjs

# These dependencies are only needed for Yarn PNP
# COPY --chown=node:node /.yarn/unplugged /home/node/app/.yarn/unplugged
# COPY --chown=node:node /.pnp.cjs /home/node/app/.pnp.cjs
# COPY --chown=node:node /.pnp.loader.mjs /home/node/app/.pnp.loader.mjs

COPY --chown=node:node /yarn.lock /home/node/app/yarn.lock
COPY --chown=node:node /tsconfig.json /home/node/app/tsconfig.json
COPY --chown=node:node /.yarnrc.yml /home/node/app/.yarnrc.yml
Expand Down
Loading

0 comments on commit 557e4e9

Please sign in to comment.