🗂️ refactor: organize Dockerfiles into docker/ directory and update all references
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 22s
CI/CD Pipeline / CI Pipeline (push) Failing after 47s

This commit is contained in:
2026-04-07 12:45:09 +02:00
parent 57db3e0a32
commit c3587119b7
8 changed files with 194 additions and 11 deletions

View File

@@ -126,7 +126,7 @@ EXPOSE 8080
ENTRYPOINT ["/app/dance-lessons-coach"]
```
**Dockerfile** - Development Dockerfile (kept for local development):
**docker/Dockerfile** - Development Dockerfile (kept for local development):
```dockerfile
# Multi-stage build for development
FROM golang:1.26.1-alpine AS builder
@@ -147,6 +147,16 @@ EXPOSE 8080
ENTRYPOINT ["/app/dance-lessons-coach"]
```
### File Organization
All Dockerfiles are now organized in the `docker/` directory:
- `docker/Dockerfile` - Development Dockerfile
- `docker/Dockerfile.build` - Build cache Dockerfile
- `docker/Dockerfile.prod` - Production Dockerfile (development only, uses latest)
- `docker/Dockerfile.prod.template` - Template for reference
This organization keeps the root directory clean and makes it clear which files are for development vs production.
## Benefits
### CI/CD Pipeline Benefits