Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-buster as builder
FROM python:3.9-bullseye as builder

RUN pip install poetry

Expand All @@ -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 <yurinnick@meta.com>"
FROM python:3.9-bullseye as runtime
LABEL maintainer="Ihor Solodrai <isolodrai@meta.com>"

RUN apt update && \
apt install -y git && \
Expand Down