Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
|
@@ -1,14 +1,10 @@
|
|
| 1 |
-
# 1. Use a base image with Python and CUDA (for the GPU)
|
| 2 |
FROM python:3.11-slim
|
| 3 |
|
| 4 |
-
# 2. Set the working directory
|
| 5 |
WORKDIR /code
|
| 6 |
-
|
| 7 |
-
# 3. Copy all your application files into the container
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
-
# 4. Install the dependencies
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
|
|
|
| 3 |
WORKDIR /code
|
|
|
|
|
|
|
| 4 |
COPY . .
|
| 5 |
|
|
|
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
+
EXPOSE 7860
|
| 9 |
+
|
| 10 |
+
CMD ["python", "fine_tune.py"]
|