From a0b5ac479cbbc0c75cec3b4a7b2f0678893e5ab2 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Thu, 20 Jul 2023 09:07:05 -0700 Subject: [PATCH] PEP 668 - use Python image --- app/Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index 6aecf26..b133886 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,8 +1,4 @@ -FROM debian - -RUN apt update -RUN apt upgrade -y -RUN apt install -y python3 python3-pip +FROM python:3.11-bookworm ADD requirements.txt / RUN pip3 install -r /requirements.txt @@ -10,4 +6,4 @@ RUN pip3 install -r /requirements.txt ADD main.py /bin RUN chmod +x /bin/main.py -CMD /bin/main.py \ No newline at end of file +CMD /bin/main.py