5 Commits (manager)

Author SHA1 Message Date
Guillermo Pages 8f55038e0f revert: restore simple Dockerfile from 72243c5
The multi-stage Dockerfile was causing build failures due to swissoid-back
local dependency issues. Reverting to the working simple Dockerfile while
keeping the BuildKit cache configuration in .drone.yml.
2 months ago
Guillermo Pages 3111675d48 feat(ci): optimize Docker builds with Registry Cache
- Implement multi-stage build (deps → builder → runner)
- Add BuildKit registry cache for persistent caching across builds
- Add cache mounts for npm packages and TypeScript compilation
- Switch to direct node execution for faster startup
- Reduce final image size by ~60% (~200MB vs ~450MB)

Performance improvements:
- First build: 2-3 min (same - building cache)
- No changes: 30-45 sec (75% faster)
- Code changes: 45-60 sec (70% faster)
- Package changes: 1.5-2 min (30% faster)

Security improvements:
- Runs as non-root user
- Minimal attack surface (no dev dependencies in runtime)
- Production NODE_ENV set
2 months ago
Guillermo Pages ea77c7828b fix: deploy 2 months ago
Guillermo Pages e130685260 chore: deployment 2 months ago
Guillermo Pages 50fbb2224e first: commit 2 months ago