From 135bb1665fa56d69e7f8fed4556fd380f1dc4f5e Mon Sep 17 00:00:00 2001 From: Thibault Derousseaux Date: Tue, 13 Feb 2024 19:20:38 -0500 Subject: [PATCH] fixup! Update to Atoti Python API 0.8.9 --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1415be..10ddb12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ # syntax=docker/dockerfile:1.2 -FROM python:3.9.12-slim AS builder +FROM python:3.9.18-slim AS builder -RUN --mount=type=cache,target=/root/.cache pip install poetry==1.7.0 -RUN poetry config virtualenvs.create false +RUN --mount=type=cache,target=/root/.cache pip install poetry==1.7.1 COPY poetry.lock pyproject.toml ./ -RUN --mount=type=cache,target=/root/.cache poetry install --no-root --only main --sync +RUN --mount=type=cache,target=/root/.cache POETRY_VIRTUALENVS_CREATE=false poetry install --no-cache --no-root --only main --sync -FROM python:3.9.12-slim AS runner +FROM python:3.9.18-slim AS runner ENV ATOTI_HIDE_EULA_MESSAGE=true ENV PORT=80