Commit Graph

3 Commits

Author SHA1 Message Date
ccbikai
a44eeb76eb feat: simplify secret handling in build process
Streamlines the build script by consolidating multiple secret exports into a single command, enhancing maintainability and reducing redundancy.
2024-10-15 21:06:49 +08:00
ccbikai
eb0205a7a9 refactor: improve security by using Docker secrets for Sentry tokens
Enhanced security by integrating Docker secrets for Sentry authentication and project tokens, reducing exposure of sensitive information in environment variables.
2024-10-15 21:03:24 +08:00
ccbikai
2b9807bd89 feat: add Docker support and enhance environment configuration
- Introduce .dockerignore for Docker build optimization
- Add Dockerfile for containerization setup
- Update .env.example to clear Sentry variables and rename HOST to TELEGRAM_HOST
- Modify astro.config.mjs to conditionally exclude SSR dependencies in Docker builds
- Adjust postinstall script to safely handle missing .git directory
- Refactor telegram host retrieval for clarity and consistency
2024-08-31 13:41:16 +08:00