Dockerfile should respect selected package manager #14580
7up-charsi
started this conversation in
Proposals
Replies: 1 comment
-
|
The Dockerfile is part of a static template, the CLI to create a new app only copies the template into a folder, there's nothing special happening. If you want a Dockerfile that uses pnpm you can fork the original template, change it to use pnpm, then upload it to GitHub and use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running
pnpx create-react-routerand selectingpnpmas the package manager, the Dockerfile template is hardcoded to use npm, e.g.npm ci,npm ci --omit=dev,npm run build,["npm", "run", "start"]Expected behavior
The Dockerfile should use the selected package manager
pnpmconsistently throughout, so it matches the project setup.Steps to reproduce:
pnpx create-react-router .Inspect the generated Dockerfile
Current behavior:
Dockerfile still uses npm commands.
Beta Was this translation helpful? Give feedback.
All reactions