Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 10 |
|
| 11 |
COPY . .
|
| 12 |
|
| 13 |
-
RUN python -m src.train_model --epochs
|
| 14 |
(cat /tmp/train.log && echo "TRAINING FAILED" && exit 1)
|
| 15 |
|
| 16 |
EXPOSE 7860
|
|
|
|
| 10 |
|
| 11 |
COPY . .
|
| 12 |
|
| 13 |
+
RUN python -m src.train_model --epochs 1000 > /tmp/train.log 2>&1 || \
|
| 14 |
(cat /tmp/train.log && echo "TRAINING FAILED" && exit 1)
|
| 15 |
|
| 16 |
EXPOSE 7860
|