Upload folder using huggingface_hub
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -65,6 +65,6 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
| 65 |
|
| 66 |
# Run the FastAPI server
|
| 67 |
# The module path is constructed to work with the /app/env structure
|
|
|
|
| 68 |
ENV ENABLE_WEB_INTERFACE=true
|
| 69 |
-
CMD ["sh", "-c", "cd /app/env &&
|
| 70 |
-
# CMD ["sh", "-c", "cd /app/env && python3 inference.py"]
|
|
|
|
| 65 |
|
| 66 |
# Run the FastAPI server
|
| 67 |
# The module path is constructed to work with the /app/env structure
|
| 68 |
+
# CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
|
| 69 |
ENV ENABLE_WEB_INTERFACE=true
|
| 70 |
+
CMD ["sh", "-c", "cd /app/env && python3 inference.py"]
|
|
|