Spaces:
Sleeping
Sleeping
Commit
·
3274b6b
1
Parent(s):
fe90877
app folder
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -5,6 +5,6 @@ WORKDIR /code
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
-
COPY app
|
| 9 |
|
| 10 |
-
CMD ["uvicorn", "app
|
|
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
+
COPY app.py .
|
| 9 |
|
| 10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|