Files
kwaylon/.devcontainer/Dockerfile
John Lancaster d85ccb3292 fixed dockerfile
2023-05-29 11:14:25 -05:00

15 lines
381 B
Docker

FROM debian
RUN apt update && apt install -y \
libblas-dev liblapack-dev \
libffi-dev libnacl-dev \
python3 python3-pip python3-dev
COPY ./requirements.txt ./requirements.txt
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install -r ./requirements.txt
RUN python3 -m nltk.downloader words punkt averaged_perceptron_tagger
WORKDIR /usr/app
CMD [ "./src/main.py" ]