kompiangg commited on
Commit
1caec96
1 Parent(s): e316253

add Dockerfile and requirements

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. requirements.txt +51 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY . .
10
+
11
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiohttp==3.9.1
2
+ aiosignal==1.3.1
3
+ annotated-types==0.6.0
4
+ anyio==3.7.1
5
+ async-timeout==4.0.3
6
+ attrs==23.1.0
7
+ certifi==2023.11.17
8
+ charset-normalizer==3.3.2
9
+ click==8.1.7
10
+ datasets==2.15.0
11
+ dill==0.3.7
12
+ exceptiongroup==1.2.0
13
+ fastapi==0.105.0
14
+ filelock==3.13.1
15
+ frozenlist==1.4.0
16
+ fsspec==2023.10.0
17
+ h11==0.14.0
18
+ httptools==0.6.1
19
+ huggingface-hub==0.19.4
20
+ idna==3.6
21
+ joblib==1.3.2
22
+ multidict==6.0.4
23
+ multiprocess==0.70.15
24
+ numpy==1.26.2
25
+ packaging==23.2
26
+ pandas==2.1.4
27
+ pyarrow==14.0.1
28
+ pyarrow-hotfix==0.6
29
+ pydantic==2.5.2
30
+ pydantic_core==2.14.5
31
+ python-dateutil==2.8.2
32
+ python-dotenv==1.0.0
33
+ pytz==2023.3.post1
34
+ PyYAML==6.0.1
35
+ requests==2.31.0
36
+ scikit-learn==1.3.2
37
+ scipy==1.11.4
38
+ six==1.16.0
39
+ sniffio==1.3.0
40
+ starlette==0.27.0
41
+ threadpoolctl==3.2.0
42
+ tqdm==4.66.1
43
+ typing_extensions==4.9.0
44
+ tzdata==2023.3
45
+ urllib3==2.1.0
46
+ uvicorn==0.24.0.post1
47
+ uvloop==0.19.0
48
+ watchfiles==0.21.0
49
+ websockets==12.0
50
+ xxhash==3.4.1
51
+ yarl==1.9.4