mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-23 23:16:48 +00:00
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
This commit is contained in:
@@ -12,13 +12,11 @@
|
||||
"astro": "astro",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"postinstall": "simple-git-hooks"
|
||||
"postinstall": "test -d .git && simple-git-hooks || true"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^4.0.7",
|
||||
"@sentry/astro": "^8.26.0",
|
||||
"astro": "^4.14.5",
|
||||
"astro-seo": "^0.8.4",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"dayjs": "^1.11.13",
|
||||
"flourite": "^1.3.0",
|
||||
@@ -35,7 +33,9 @@
|
||||
"@astrojs/node": "^8.3.3",
|
||||
"@astrojs/vercel": "^7.8.0",
|
||||
"@types/prismjs": "^1.26.4",
|
||||
"astro": "^4.14.5",
|
||||
"astro-eslint-parser": "^1.0.2",
|
||||
"astro-seo": "^0.8.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"cssnano": "^7.0.5",
|
||||
"eslint": "9.5.0",
|
||||
|
||||
Reference in New Issue
Block a user