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