2 Commits

Author SHA1 Message Date
ccbikai
13b1d7fd8e fix: update Sentry configuration in Docker builds
Improves Sentry integration in Docker builds by:
- Moving Sentry environment variables to build args
- Adding .env to dockerignore for security
- Properly passing Sentry configuration during build process

This change ensures better security practices and more reliable Sentry configuration in containerized environments.
2024-11-23 18:25:40 +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