Hayloo9838 commited on
Commit
f5eb9e8
·
verified ·
1 Parent(s): 53540ce

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,6 +6,7 @@ COPY requirements.txt .
6
 
7
  RUN pip install --upgrade pip && pip install -r requirements.txt
8
 
9
- COPY app /code/app
 
10
 
11
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  RUN pip install --upgrade pip && pip install -r requirements.txt
8
 
9
+ # 👇 This is where you messed up before
10
+ COPY app.py /code/
11
 
12
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]