The Dockerfile needs access to build/ directory during the COPY step. The .dockerignore was excluding it, causing nginx to have no static files to serve, resulting in 404 errors on /.
The Dockerfile correctly builds the React app in the build stage, but the exclusion prevented it from being used.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
138 B
Plaintext
15 lines
138 B
Plaintext
node_modules
|
|
.git
|
|
.gitignore
|
|
*.md
|
|
.env
|
|
.vscode
|
|
.idea
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.DS_Store
|
|
coverage
|
|
.eslintcache
|