syafiqq02 commited on
Commit
9186d6a
·
1 Parent(s): 4a2f718
Dockerfile CHANGED
@@ -5,8 +5,8 @@ WORKDIR /code
5
  COPY app /code/app
6
 
7
  RUN pip install --upgrade pip
8
- RUN pip install -r requirements.txt
9
 
10
  EXPOSE 7860
11
 
12
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
5
  COPY app /code/app
6
 
7
  RUN pip install --upgrade pip
8
+ RUN pip install -r /code/app/requirements.txt
9
 
10
  EXPOSE 7860
11
 
12
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt → app/requirements.txt RENAMED
File without changes