forgejo-deployment/docker/Dockerfile
Daisuke 46ec47aa2d Add explicit Forgejo deployment structure with artifact build pipeline
- Introduce clear directory separation for docker, infra, ci, and config
- Add CloudFormation pipeline for S3 → CodeBuild → ECR
- Implement explicit artifact build script for flat deployment zip
- Provide example runtime configuration and ignore secrets
2025-12-30 16:37:09 +09:00

13 lines
346 B
Docker

FROM codeberg.org/forgejo/forgejo:11-rootless
# Copy your custom app.ini from the build context into a safe location not masked by EFS.
COPY app.ini /defaults/app.ini
# Copy the custom entrypoint script.
COPY entrypoint.sh /entrypoint.sh
# Set the custom entrypoint.
ENTRYPOINT ["/entrypoint.sh"]
# Optionally, retain a CMD if needed.
CMD []