Skip to content

Commit

Permalink
feat: Add run with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangsx authored May 9, 2023
1 parent 96be68d commit 3a7495c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,23 @@ yarn
yarn start
```

## Deploy with docker-compose

## Run with docker
first, you should create file .env
```env
http_proxy=http://host:port
# you should config this if you use forefront api, this apikey is used for receive register email
# 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
Expand Down

0 comments on commit 3a7495c

Please sign in to comment.