Skip to content

Commit

Permalink
Switch to Debian 11 Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterGroosha committed May 10, 2022
1 parent 609fd52 commit 33c076a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Separate build image
FROM python:3.9-slim-buster as compile-image
FROM python:3.9-slim-bullseye as compile-image
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt

# Final image
FROM python:3.9-slim-buster
FROM python:3.9-slim-bullseye
COPY --from=compile-image /opt/venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
WORKDIR /app
Expand Down

0 comments on commit 33c076a

Please sign in to comment.