Srastog commited on
Commit
b4445fc
·
1 Parent(s): 2dfe23c

Added Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. requirements.txt +9 -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 ./api /code/api
10
+
11
+ CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ dlib-bin
2
+ fastapi==0.115.10
3
+ numpy>=1.21
4
+ onnx==1.17.0
5
+ onnxruntime==1.19.2
6
+ opencv-python-headless>=4.8
7
+ pillow==11.1.0
8
+ python-multipart==0.0.20
9
+ uvicorn==0.34.0