Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -45,8 +45,5 @@ RUN pip install --no-cache-dir \
|
|
| 45 |
# Copy repo source
|
| 46 |
COPY . .
|
| 47 |
|
| 48 |
-
#
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
# Run the curriculum training script
|
| 52 |
-
CMD ["python", "train_unsloth_colab.py"]
|
|
|
|
| 45 |
# Copy repo source
|
| 46 |
COPY . .
|
| 47 |
|
| 48 |
+
# Run the FastAPI server (app:app = the `app` FastAPI instance in app.py)
|
| 49 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
|
|
|
|
|
|
|
|