File size: 350 Bytes
243d190
12f6c63
 
b579ea3
 
12f6c63
b579ea3
 
 
1
2
3
4
5
6
7
8
9
10
FROM huggingface/autotrain-advanced:latest

RUN pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced \
    && pip install nltk \
    && python -c "import nltk; nltk.download('punkt', download_dir='/app/nltk_data')"

ENV NLTK_DATA="/app/nltk_data"

CMD ["autotrain", "app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]