Commit graph

2 commits

Author SHA1 Message Date
Chigozirim Igweamaka
28c7a7d4d0 feat(docker): overhaul Dockerfile for multi-stage build and production runtime
- Add multi-stage builds for React frontend and Go backend
- Use node:20-alpine and golang:1.24-alpine for slimmer build environments
- Switch to `/app` directory structure and improve COPY paths
- Use `npm ci` for deterministic frontend installs
- Add Go build optimizations with stripped binaries
- Introduce final Alpine runtime image with ffmpeg, python3, yt-dlp
- Add HEALTHCHECK for backend service availability
- Add non-root runtime user for improved security
- Create necessary app directories with proper permissions
- Update CMD to run Go server with explicit args
2025-11-19 16:39:07 +01:00
Chigozirim Igweamaka
e740795f46 feat: add Dockerfile and docker-compose.yml for application setup 2025-04-07 02:29:40 +01:00