mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-28 23:53:42 +03:00
updated docker
This commit is contained in:
parent
03b0de017c
commit
62ed999dc4
|
@ -38,10 +38,10 @@ RUN python -m venv /venv
|
|||
|
||||
COPY pyproject.toml poetry.lock /app/
|
||||
RUN poetry export --without-hashes -f requirements.txt | /venv/bin/pip install -r /dev/stdin
|
||||
RUN python -m nltk.downloader punkt stopwords wordnet
|
||||
|
||||
COPY . .
|
||||
RUN poetry build && /venv/bin/pip install dist/*.whl
|
||||
RUN /venv/bin/python -m nltk.downloader punkt stopwords wordnet
|
||||
|
||||
|
||||
COPY ./compose/production/django/entrypoint /entrypoint
|
||||
|
|
Loading…
Reference in New Issue
Block a user