t5nyllama / Dockerfile
vietlethe's picture
fix nltk_data dir
7de0fbb
raw
history blame
343 Bytes
FROM python:3.10
WORKDIR /app
RUN mkdir ./texteditor-model
COPY . .
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y build-essential
RUN pip3 install --upgrade pip setuptools
RUN pip3 install -r requirements.txt
RUN python3 -m spacy download en_core_web_sm
RUN python3 download_dependencies.py
ENTRYPOINT ["python", "app.py"]