Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
|
|
|
| 10 |
|
| 11 |
-
CMD ["uvicorn", "app
|
|
|
|
| 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"]
|