Hansimov commited on
Commit
5a836c3
1 Parent(s): 3a09006

:gem: [Feature] Enable Docker deployment, and add requirements

Browse files
Files changed (3) hide show
  1. .gitignore +2 -0
  2. Dockerfile +7 -0
  3. requirements.txt +10 -0
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ secrets.json
2
+ __pycache__
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR $HOME/app
3
+ COPY requirements.txt .
4
+ RUN pip install -r requirements.txt
5
+ VOLUME /data
6
+ EXPOSE 23333
7
+ CMD ["python", "-m", "apis.chat_api"]
requirements.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ aiohttp
2
+ fastapi
3
+ httpx
4
+ openai
5
+ pydantic
6
+ requests
7
+ sse_starlette
8
+ termcolor
9
+ uvicorn
10
+ websockets