Rayugacodes commited on
Commit
3b0341d
·
verified ·
1 Parent(s): 6205146

Fix Dockerfile: read HF_TOKEN from env correctly

Browse files
Files changed (1) hide show
  1. 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 \$HF_TOKEN
 
13
 
14
  COPY train_on_hf.py .
15
 
16
+ CMD ["sh", "-c", "python train_on_hf.py --hf-token $HF_TOKEN"]