Skip to content

Commit

Permalink
Merge pull request #2 from gnosis/evan/add-mech-tool-agents
Browse files Browse the repository at this point in the history
Update base image
  • Loading branch information
evangriffiths committed May 2, 2024
2 parents 8432f83 + 456b0d7 commit 77c5cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Install Poetry and create venv in the builder step,
# then copy the venv to the runtime image, so that the runtime image is as small as possible.
FROM --platform=linux/amd64 python:3.10.14-slim-bookworm AS builder
FROM --platform=linux/amd64 python:3.10.14-bookworm AS builder

RUN pip install poetry==1.8.2

Expand All @@ -15,7 +15,7 @@ COPY pyproject.toml poetry.lock ./

RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --no-root --only main

FROM --platform=linux/amd64 python:3.10.14-slim-bookworm AS runtime
FROM --platform=linux/amd64 python:3.10.14-bookworm AS runtime

ENV VIRTUAL_ENV=/app/.venv \
PATH="/app/.venv/bin:$PATH"
Expand Down

0 comments on commit 77c5cc4

Please sign in to comment.