From 3a7495c534d11a9fbaabfc5d21e80c81bf7ffc2c Mon Sep 17 00:00:00 2001 From: Xiang <1984871009@qq.com> Date: Tue, 9 May 2023 21:41:17 +0800 Subject: [PATCH] feat: Add run with docker --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b9f8106..b9600ea 100644 --- a/README.md +++ b/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