Skip to content

Commit

Permalink
fix(agents-api): Fix agents-api Dockerfile; use python3.10 and poetry…
Browse files Browse the repository at this point in the history
… 1.8

Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Apr 25, 2024
1 parent b3018fd commit c073dd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agents-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.11-slim
FROM python:3.10-slim

ENV PYTHONUNBUFFERED True
ENV POETRY_CACHE_DIR=/tmp/poetry_cache

WORKDIR /app

RUN pip install poetry==1.6.1 \
RUN pip install 'poetry<=1.9.0' \
&& poetry config virtualenvs.create false

COPY pyproject.toml poetry.lock ./
Expand All @@ -16,4 +16,4 @@ COPY . ./

RUN poetry install --no-dev

ENTRYPOINT ["python", "agents_api/web.py", "--host", "0.0.0.0", "--port", "8080"]
ENTRYPOINT ["python", "agents_api/web.py", "--host", "0.0.0.0", "--port", "8080"]

0 comments on commit c073dd3

Please sign in to comment.