Aurélie GABU commited on
Commit
f130432
·
1 Parent(s): 3a105f9

docs: dockerfile added for API deployment and requirements updated

Browse files
Files changed (2) hide show
  1. Dockerfile +10 -0
  2. requirements.txt +2 -1
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ WORKDIR /code
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY . .
9
+
10
+ CMD ["uvicorn", "App.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -6,4 +6,5 @@ Pygments==2.19.2
6
  pytest==9.0.2
7
  fastapi==0.115.0
8
  uvicorn==0.30.1
9
- httpx==0.27.0
 
 
6
  pytest==9.0.2
7
  fastapi==0.115.0
8
  uvicorn==0.30.1
9
+ httpx==0.27.0
10
+ huggingface_hub==1.3.1