Akhil commited on
Commit
b39f895
·
1 Parent(s): 747252f

fix: dockerfile for hf

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -9,5 +9,8 @@ WORKDIR /app
9
  COPY requirements.txt .
10
  RUN pip3 install --no-cache-dir --upgrade -r requirements.txt
11
 
12
- CMD ["tail", "-f", "/dev/null"]
13
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
9
  COPY requirements.txt .
10
  RUN pip3 install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ COPY . .
13
+
14
+ EXPOSE 7860
15
+
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]