Skip to content

ERROR: failed to solve: archive/tar: unknown file mode ?rwxr-xr-x #6747

You must be logged in to vote

I encountered the same issue. I fixed it by updating my .dockerignore file. Instead of excluding node_modules, I changed the entry to:**/node_modules/

Dockerfile
.dockerignore
**/node_modules/
**/pnpm-lock.yaml
npm-debug.log
.next
.git
.github
*.md
.env.example

Replies: 10 comments

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Answer selected by arvinxx

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #6707 on March 06, 2025 06:59.