Skip to content

Commit

Permalink
fixup! Update to Atoti Python API 0.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tibdex committed Feb 14, 2024
1 parent 4f9e9fc commit 6c551f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# syntax=docker/dockerfile:1.2
FROM python:3.9.18-slim AS builder

RUN --mount=type=cache,target=/root/.cache pip install poetry==1.7.1
ENV POETRY_VENV_PATH=/usr/local/poetry
RUN python -m venv $POETRY_VENV_PATH
RUN $POETRY_VENV_PATH/bin/pip install poetry==1.7.1

COPY poetry.lock pyproject.toml ./

RUN --mount=type=cache,target=/root/.cache POETRY_VIRTUALENVS_CREATE=false poetry install --no-cache --no-root --only main --sync
RUN POETRY_VIRTUALENVS_CREATE=false $POETRY_VENV_PATH/bin/poetry install --no-cache --no-root --only main --sync

FROM python:3.9.18-slim AS runner

Expand Down

0 comments on commit 6c551f8

Please sign in to comment.