Skip to content

Commit

Permalink
Docker update
Browse files Browse the repository at this point in the history
Signed-off-by: mbw <[email protected]>
  • Loading branch information
mbwhite committed Mar 3, 2024
1 parent b31c5c0 commit 3386c0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.11-buster as builder
FROM python:3.11 as builder

RUN pip install --upgrade pip
RUN pip install poetry==1.8.1

ENV POETRY_NO_INTERACTION=1 \
Expand All @@ -14,7 +15,7 @@ RUN touch README.md

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

FROM python:3.11-slim-buster as runtime
FROM python:3.11 as runtime

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

0 comments on commit 3386c0f

Please sign in to comment.