Compare commits

..

2 Commits

Author SHA1 Message Date
4ef6021499 updated requirements 2023-11-08 18:46:29 +03:00
62ed999dc4 updated docker 2023-11-08 18:28:27 +03:00
3 changed files with 523 additions and 73 deletions

View File

@ -38,10 +38,10 @@ RUN python -m venv /venv
COPY pyproject.toml poetry.lock /app/ COPY pyproject.toml poetry.lock /app/
RUN poetry export --without-hashes -f requirements.txt | /venv/bin/pip install -r /dev/stdin RUN poetry export --without-hashes -f requirements.txt | /venv/bin/pip install -r /dev/stdin
RUN python -m nltk.downloader punkt stopwords wordnet
COPY . . COPY . .
RUN poetry build && /venv/bin/pip install dist/*.whl 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 COPY ./compose/production/django/entrypoint /entrypoint

591
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -107,12 +107,13 @@ pgvector = "^0.2.2"
pycld2 = "^0.41" pycld2 = "^0.41"
textract = "^1.6.5" textract = "^1.6.5"
uuid6 = "^2023.5.2" uuid6 = "^2023.5.2"
fastapi = "0.86.0"
django-haystack = {extras = ["elasticsearch"], version = "^3.2.1"} django-haystack = {extras = ["elasticsearch"], version = "^3.2.1"}
uvicorn = "^0.24.0.post1" uvicorn = "^0.24.0.post1"
nltk = "^3.8.1" nltk = "^3.8.1"
pymorphy3 = "^1.2.1" pymorphy3 = "^1.2.1"
pymorphy3-dicts-ru = "^2.4.417150.4580142" pymorphy3-dicts-ru = "^2.4.417150.4580142"
fastapi = "^0.104.1"
pydantic-settings = "^2.0.3"
[build-system] [build-system]