FROM python:3.8.16-bullseye ADD . /app RUN pip install flask flask-compress jieba numpy progressbar2 nltk langdetect WORKDIR /app RUN mkdir data ENTRYPOINT [ "/usr/local/bin/python", "app.py" ]