Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -1,2 +1,6 @@
|
|
1 |
FROM huggingface/autotrain-advanced:latest
|
2 |
-
|
|
|
|
|
|
|
|
|
|
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
|