Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -13,6 +13,7 @@ WORKDIR /app
|
|
| 13 |
|
| 14 |
|
| 15 |
|
|
|
|
| 16 |
# 4. Install Dependencies
|
| 17 |
COPY --chown=user requirements.txt .
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
@@ -26,4 +27,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 26 |
# Hugging Face Spaces mandates port 7860.
|
| 27 |
# We override the port here so you don't have to change your server.py.
|
| 28 |
EXPOSE 7860
|
| 29 |
-
CMD ["uvicorn", "server.py:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
+
|
| 17 |
# 4. Install Dependencies
|
| 18 |
COPY --chown=user requirements.txt .
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 27 |
# Hugging Face Spaces mandates port 7860.
|
| 28 |
# We override the port here so you don't have to change your server.py.
|
| 29 |
EXPOSE 7860
|
| 30 |
+
CMD ["uvicorn", "server.py:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 31 |
+
|
| 32 |
+
|