Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -4,4 +4,7 @@ COPY ./requirements.txt /app/requirements.txt
|
|
4 |
|
5 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
6 |
|
7 |
-
COPY ./app /app
|
|
|
|
|
|
|
|
4 |
|
5 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
6 |
|
7 |
+
COPY ./app /app
|
8 |
+
|
9 |
+
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|