Hmrishav commited on
Commit
0fbd488
1 Parent(s): b1350bf

resolve deps

Browse files
Files changed (2) hide show
  1. Dockerfile +7 -0
  2. requirements.txt +1 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+
2
+ FROM python: 3.9
3
+ WORKDIR / code
4
+ COPY /requirements.txt / code/requirements.txt
5
+ RUN pip install --no-cache-dir --upgrade -r / code/requirements.txt
6
+ COPY . .
7
+ CMD ["gunicorn", "-b", "0.0.0.0:5000", "main:app"]
requirements.txt CHANGED
@@ -1,3 +1,4 @@
 
1
  accelerate==0.29.2
2
  blinker==1.9.0
3
  certifi==2024.8.30
 
1
+ gunicorn
2
  accelerate==0.29.2
3
  blinker==1.9.0
4
  certifi==2024.8.30