Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Using 3.11-slim-bullseye as base image
  • Loading branch information
aschuma committed Apr 6, 2024
1 parent 37a8a5a commit ecb7a46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.3-slim-buster
FROM python:3.11-slim-bullseye

WORKDIR /usr/src/app

Expand All @@ -11,7 +11,10 @@ ENV VVS_FROM="de:08116:2103" \

COPY requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir -r requirements.txt

COPY . .

Expand Down

0 comments on commit ecb7a46

Please sign in to comment.