fixed dockerfile

This commit is contained in:
John Lancaster
2023-05-29 11:14:25 -05:00
parent c48e7dcf8e
commit d85ccb3292

View File

@@ -8,7 +8,7 @@ python3 python3-pip python3-dev
COPY ./requirements.txt ./requirements.txt COPY ./requirements.txt ./requirements.txt
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install -r ./requirements.txt RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install -r ./requirements.txt
RUN python -m nltk.downloader words punkt averaged_perceptron_tagger RUN python3 -m nltk.downloader words punkt averaged_perceptron_tagger
WORKDIR /usr/app WORKDIR /usr/app
CMD [ "python", "./src/main.py" ] CMD [ "./src/main.py" ]