diff --git a/Dockerfile b/Dockerfile index bee5f8c..53992bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-buster as builder +FROM python:3.9-bullseye as builder RUN pip install poetry @@ -9,14 +9,14 @@ ENV POETRY_NO_INTERACTION=1 \ WORKDIR /app -COPY pyproject.toml poetry.lock ./ +COPY pyproject.toml /app/pyproject.toml RUN touch README.md RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR # The runtime image, used to just run the code provided its virtual environment -FROM python:3.10-slim-buster as runtime -LABEL maintainer="Nikolay Yurin " +FROM python:3.9-bullseye as runtime +LABEL maintainer="Ihor Solodrai " RUN apt update && \ apt install -y git && \