Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -6,11 +6,11 @@ WORKDIR /app
|
|
6 |
COPY requirements.txt .
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
-
# Copy
|
10 |
-
COPY
|
11 |
|
12 |
# Expose the port Hugging Face Spaces expects
|
13 |
EXPOSE 7860
|
14 |
|
15 |
# Start the FastAPI app
|
16 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
6 |
COPY requirements.txt .
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
+
# Copy all Python files (including app.py and lora_trainer.py)
|
10 |
+
COPY . .
|
11 |
|
12 |
# Expose the port Hugging Face Spaces expects
|
13 |
EXPOSE 7860
|
14 |
|
15 |
# Start the FastAPI app
|
16 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|