Spaces:
Build error
Build error
FROM python:3.9 | |
WORKDIR /app | |
ADD . /app | |
RUN chmod -R 777 /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 curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash | |
RUN apt-get install git-lfs | |
RUN pip install -v -r requirements.txt | |
CMD ["sh", "docker_commands.sh"] | |