Skip to content

Commit

Permalink
feat: #27 add docker image publish actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed Mar 27, 2023
1 parent 0463b35 commit cc1a1d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
20 changes: 2 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,28 +131,11 @@ how to deploy nextjs project with pm2 and yarn on my ubuntu server, the build co

### 容器部署 Docker Deployment

1. 首先拉取镜像
```shell
docker pull aprilnea/chatgpt-next-web
```
2. 运行
```shell
docker run -d -p 3000:3000 -e OPEN_API_KEY="" -e CODE="" aprilnea/chatgpt-next-web
```
请在适当位置替换你的 `OPEN_API-KEY``CODE`

docker pull yidadaa/chatgpt-next-web

1. First, pull the image
```shell
docker pull aprilnea/chatgpt-next-web
```

2. Run the container
```shell
docker run -d -p 3000:3000 -e OPEN_API_KEY="" -e CODE="" aprilnea/chatgpt-next-web
```
Please replace `OPEN_API_KEY` and `CODE` with your own credentials at the appropriate locations.


## 截图 Screenshots

Expand All @@ -178,6 +161,7 @@ If you would like to contribute your API key, you can email it to the author and
[@ClarenceDan](https://github.com/ClarenceDan)

### 贡献者 Contributor

[@AprilNEA](https://github.com/AprilNEA)

## LICENSE
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "chatgpt-next-web",
"version": "1.1",
"private": false,
"license": "Anti 996",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down

1 comment on commit cc1a1d4

@vercel
Copy link

@vercel vercel bot commented on cc1a1d4 Mar 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.