Open H4kt opened 1 month ago
Operating System: Platform: win32 Arch: x64 Version: Windows 11 Pro Available memory (MB): 32566 Available CPU cores: 16 Binaries: Node: 20.12.2 npm: N/A Yarn: N/A pnpm: 9.10.0 Relevant Packages: next: 14.2.10 // An outdated version detected (latest is 15.0.1), upgrade is highly recommended! eslint-config-next: N/A react: 18.3.1 react-dom: 18.3.1 typescript: 5.5.4 Next.js Config: output: standalone
with-docker
No response
Currently example Dockerfile does not try to copy .npmrc / .yarnrc files which can lead to issues when installing packages
Dockerfile
.npmrc
.yarnrc
Example Dockerfile should attempt to copy those configuration files just like it attempts to copy the lock files
The example Dockerfile also fails when using pnpm. Even though the Lockfile exists, it stops creation at 4/4 with an npm error message which is strange as it should call pnpm.
pnpm
Verify canary release
Provide environment information
Which example does this report relate to?
with-docker
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Currently example
Dockerfile
does not try to copy.npmrc
/.yarnrc
files which can lead to issues when installing packagesExpected Behavior
Example
Dockerfile
should attempt to copy those configuration files just like it attempts to copy the lock filesTo Reproduce
Dockerfile
into your project