Commit Graph

7 Commits

Author SHA1 Message Date
William Valentin
ed8cbca1da build: streamline Docker setup and environment config
Some checks failed
Build and Deploy / build (push) Has been cancelled
Build and Deploy / test (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
- Simplify Dockerfile to use official Bun image as base
- Add admin bootstrap environment variables to .env.example
- Include VITE_ADMIN_EMAIL and VITE_ADMIN_PASSWORD build args
- Fix newline at end of .env.example file
- Remove redundant system dependency installations
2025-10-16 13:16:52 -07:00
William Valentin
3702c1da8a build(container): run caddy as root to avoid 'no matching entries in passwd file' in certain runtimes 2025-09-09 13:27:13 -07:00
William Valentin
eb55fb8951 build(container): fix Caddy stage permissions by using COPY --chown and drop chown RUN to avoid rootfs perms error 2025-09-09 12:57:57 -07:00
William Valentin
da9d221dae build(container): replace nginx with caddy for static SPA serving (no TLS); embed Caddyfile; keep health endpoint on /health 2025-09-09 12:44:19 -07:00
William Valentin
a76f94fba7 fix: resolve Docker build and nginx configuration issues
- Add unzip package to Dockerfile for Bun installation
- Fix nginx.conf gzip_proxied directive (remove invalid 'must-revalidate')
- Add comment acknowledging password warning in Dockerfile
- Docker build now completes successfully and nginx starts without errors
2025-09-08 21:53:08 -07:00
William Valentin
190cffb61b refactor: simplify Docker and CI/CD to use unified config
- Replace symlinked Dockerfile with simplified version in root
- Reduce Docker build args (unified config provides defaults)
- Update CI/CD workflows to use minimal build arguments
- Add nginx.conf to root directory (replace docker/nginx.conf)
- Remove docker-bake references from CI/CD workflows
- Focus on essential runtime overrides only
- Let unified config handle smart defaults
2025-09-08 21:24:20 -07:00
William Valentin
46d737ed37 fix: Add symlinks for Dockerfile and .dockerignore; update compose
config
2025-09-07 11:42:38 -07:00