Spaces:
Sleeping
Sleeping
Fix Dockerfile: read HF_TOKEN from env correctly
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -13,4 +13,4 @@ RUN pip install --no-cache-dir \
|
|
| 13 |
|
| 14 |
COPY train_on_hf.py .
|
| 15 |
|
| 16 |
-
CMD python train_on_hf.py --hf-token
|
|
|
|
| 13 |
|
| 14 |
COPY train_on_hf.py .
|
| 15 |
|
| 16 |
+
CMD ["sh", "-c", "python train_on_hf.py --hf-token $HF_TOKEN"]
|