Skip to content

Commit 7e6c4aa

Browse files
committed
Dockerfile fixes
1 parent b3306a9 commit 7e6c4aa

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/containers/rag-server/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ RUN export POETRY_VERSION="2.1.1" && \
2424
ENV POETRY_HOME="/opt/poetry"
2525
ENV PATH="/opt/poetry/bin:$PATH"
2626

27-
ARG JUST_SEMANTIC_SEARCH_VERSION=0.3.7
28-
ARG JUST_AGENTS_WEB_VERSION=0.7.4
27+
ARG JUST_SEMANTIC_SEARCH_VERSION=0.4.2
28+
ARG JUST_AGENTS_VERSION=0.7.4
2929

3030
# Create necessary directories
3131
RUN export CONTAINER_DIRS="/app /app/models.d /app/agent_tools /app/scripts /app/data /app/meili /app/logs /app/tmp /app/env" && \
@@ -45,7 +45,7 @@ COPY ./README.md /app/README.md
4545
# && poetry add --no-cache --verbose --source pytorch_cpu torch>=2.6
4646
RUN poetry config virtualenvs.create false && \
4747
poetry install --no-interaction --no-cache
48-
RUN poetry add --no-cache --verbose just-agents>=$JUST_AGENTS_WEB_VERSION just-semantic-search-server>=$JUST_SEMANTIC_SEARCH_VERSION && \
48+
RUN poetry add --no-cache --verbose "just-agents>=$JUST_AGENTS_VERSION" "just-agents-core>=$JUST_AGENTS_VERSION" "just-semantic-search-server>=$JUST_SEMANTIC_SEARCH_VERSION" && \
4949
poetry install --no-interaction --no-cache --compile && \
5050
poetry show --tree
5151

@@ -105,5 +105,4 @@ ENV JSON_FILE_PATTERN="[0123456789][0123456789]_*.json"
105105
# Keep running as root - let entrypoint handle user switching
106106
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
107107
#CMD ["python", "-m", "just_agents.web.run_agent", "run-chat-ui-server-command"]
108-
CMD python -m just_semantic_search.server.run_rag_server --workers $AGENT_WORKERS --host $APP_HOST --port $APP_PORT
109-
108+
CMD ["python", "-m", "just_semantic_search.server.run_rag_server", "--workers", "$AGENT_WORKERS", "--host", "$APP_HOST", "--port", "$APP_PORT"]

server/containers/rag-server/pyproject.toml.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ url = "https://download.pytorch.org/whl/cpu"
2424
priority = "explicit"
2525

2626
[tool.poetry.dependencies]
27-
just-agents = '>=0.7.3'
2827
langfuse = '>=2.59.2'
2928
opik = '>=1.4.12'
3029
pandas = '>=2.2'

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ parse-papers = "just_semantic_search.server.scripts:parse_papers"
4848
python = ">=3.10,<3.15"
4949
just-semantic-search-scholar = "*"
5050
just-semantic-search-meili = "*"
51-
just-agents-web = ">=0.7.3"
51+
just-agents-web = ">=0.7.4"
5252
mistral-ocr-parser = ">=0.1.0" #for PDF parsing
5353
python-multipart = ">=0.0.20" #for file uploads
5454

0 commit comments

Comments
 (0)