FROM python:3.9 | |
WORKDIR /app | |
ADD . /app | |
RUN mkdir /nltk_data | |
RUN mkdir /.allennlp | |
RUN mkdir /.cache | |
RUN mkdir /.local | |
RUN chmod -R 777 /nltk_data | |
RUN chmod -R 777 /.allennlp | |
RUN chmod -R 777 /.cache | |
RUN chmod -R 777 /.local | |
RUN pip install -v -r requirements.txt | |
CMD ["sh", "docker_commands.sh"] | |