@ -125,16 +125,30 @@ Please ask ChatGPT with prompt:
how to deploy nextjs project with pm2 and yarn on my ubuntu server, the build command is `yarn build`, the start command is `yarn start`, the project must start with env var named `OPENAI_API_KEY`, the port is 3000, use ngnix
docker run -d -p 3000:3000 -e OPEN_API_KEY="" -e CODE="" aprilnea/chatgpt-next-web
```
请在适当位置替换你的 `OPEN_API-KEY` 和 `CODE`
Please ask ChatGPT with prompt:
1. First, pull the image
```shell
docker pull aprilnea/chatgpt-next-web
```
how to deploy nextjs project with docker on my ubuntu server, the build command is `yarn build`, the start command is `yarn start`, the project must start with env var named `OPENAI_API_KEY`, the port is 3000, use ngnix
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.