fixed dockerfile
This commit is contained in:
@@ -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" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user