feat: Add run with docker
このコミットが含まれているのは:
コミット
3a7495c534
12
README.md
12
README.md
|
@ -27,8 +27,7 @@ yarn
|
|||
yarn start
|
||||
```
|
||||
|
||||
## Deploy with docker-compose
|
||||
|
||||
## Run with docker
|
||||
first, you should create file .env
|
||||
```env
|
||||
http_proxy=http://host:port
|
||||
|
@ -36,6 +35,15 @@ http_proxy=http://host:port
|
|||
# get api key here https://rapidapi.com/calvinloveland335703-0p6BxLYIH8f/api/temp-mail44
|
||||
rapid_api_key=xxxxxxxxxx
|
||||
```
|
||||
|
||||
```
|
||||
docker run --env-file .env xiangsx/gpt4free-ts:latest
|
||||
```
|
||||
|
||||
## Deploy with docker-compose
|
||||
|
||||
first, you should create file .env; Follow step "Run with docekr"
|
||||
|
||||
deploy
|
||||
```
|
||||
docker-compose up --build -d
|
||||
|
|
読み込み中…
新しいイシューから参照