sagarpatelcompstak commited on
Commit
12f6c63
·
verified ·
1 Parent(s): 8dcc177

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,2 +1,6 @@
1
  FROM huggingface/autotrain-advanced:latest
2
- CMD pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced && autotrain app --host 0.0.0.0 --port 7860 --workers 1
 
 
 
 
 
1
  FROM huggingface/autotrain-advanced:latest
2
+
3
+ RUN pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced \
4
+ && python -c "import nltk; nltk.download('punkt')"
5
+
6
+ CMD autotrain app --host 0.0.0.0 --port 7860 --workers 1