devcontainer stuff
This commit is contained in:
14
.devcontainer/Dockerfile
Normal file
14
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
|
||||
WORKDIR /usr/app
|
||||
CMD [ "python", "./src/main.py" ]
|
||||
Reference in New Issue
Block a user