feat: add Docker deployment instructions

Enhance README with Docker deployment steps for easier setup and scalability.
This commit is contained in:
ccbikai
2024-09-02 20:31:45 +08:00
parent 58be3f399c
commit faa2c567ac
2 changed files with 14 additions and 0 deletions

View File

@@ -62,6 +62,13 @@ For detailed tutorials, see [Deploy your Astro site](https://docs.astro.build/en
## 🏗️ Deployment
### Docker
1. `docker pull ghcr.io/ccbikai/broadcastchannel:main`
2. `docker run -d --name broadcastchannel -p 4321:4321 -e CHANNEL=miantiao_me ghcr.io/ccbikai/broadcastchannel:main`
### Serverless
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) this project to your GitHub
2. Create a project on Cloudflare/Netlify/Vercel
3. Select the `BroadcastChannel` project and the `Astro` framework