Skip to content

Review Dockerfile and docker-compose.yaml - #769

Merged
bobbyonmagic merged 1 commit into
mainfrom
issue-768-docker-review
Jan 22, 2026
Merged

Review Dockerfile and docker-compose.yaml#769
bobbyonmagic merged 1 commit into
mainfrom
issue-768-docker-review

Conversation

@bobbyonmagic

Copy link
Copy Markdown
Collaborator

Closes #768

Changes

  • Node.js: 20.18.1 → 22.13.1 (LTS)
  • pnpm: 10.11.1 → 10.28.1
  • Base image: bullseye-slim → bookworm-slim (Debian 12)
  • Multi-stage build: Separate stages for dev, build, and production
  • Production image: Now uses nginx:1.27-alpine (~40MB vs ~400MB)
  • Nginx config: Extracted to docker/nginx.conf for maintainability
  • Resource limits: Reduced prod memory (512M vs 1G) since nginx is lighter

- Node.js 20.18.1 → 22.13.1 (LTS)
- pnpm 10.11.1 → 10.28.1
- Base image bullseye → bookworm
- Production now uses nginx:alpine for smaller image
- Extract nginx config to docker/nginx.conf
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3fb2183
Status: ✅  Deploy successful!
Preview URL: https://751513fe.devops-daily.pages.dev
Branch Preview URL: https://issue-768-docker-review.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic merged commit 34a8ab0 into main Jan 22, 2026
3 checks passed
@bobbyonmagic
bobbyonmagic deleted the issue-768-docker-review branch January 22, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review dockerfile and docker-compose.yaml

1 participant