fix(build): use multi-stage Dockerfile and add .dockerignore

- Change .woodpecker.yml to use Dockerfile (multi-stage) instead of Dockerfile.simple
- Add .dockerignore to exclude node_modules and build artifacts
- Reduces image size to avoid 413 Payload Too Large error
This commit is contained in:
Tracewebstudio Dev 2026-04-16 10:47:30 +02:00
parent 6f31fb06a5
commit 80fb6aa9b4
2 changed files with 29 additions and 1 deletions

28
.dockerignore Normal file
View file

@ -0,0 +1,28 @@
node_modules
.git
.gitignore
.env
.env.local
.env.*.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode
.idea
*.log
.DS_Store
.output
.vinxi
dist
*.tsbuildinfo
coverage
.nyc_output
.cache
.next
.vercel
netlify
*.test.ts
*.spec.ts
**/__tests__
**/test
**/tests

View file

@ -8,7 +8,7 @@ steps:
settings:
registry: registry.nxtgauge.com
repo: nxtgauge-frontend-solid
dockerfile: Dockerfile.simple
dockerfile: Dockerfile
tags:
- ${CI_COMMIT_SHA}
- latest