Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -10,11 +10,11 @@ RUN mkdir -p /tmp/hf_cache && chmod -R 777 /tmp/hf_cache
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /code
|
| 12 |
|
| 13 |
-
# Copy files
|
| 14 |
-
COPY
|
| 15 |
|
| 16 |
# Install dependencies
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
-
# Run training
|
| 20 |
CMD ["python", "train.py"]
|
|
|
|
| 10 |
# Set working directory
|
| 11 |
WORKDIR /code
|
| 12 |
|
| 13 |
+
# Copy files to the container
|
| 14 |
+
COPY . .
|
| 15 |
|
| 16 |
# Install dependencies
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
+
# Run training script
|
| 20 |
CMD ["python", "train.py"]
|