From f271a4064ef93bceb697fdd562baff7e366cf73b Mon Sep 17 00:00:00 2001 From: Jesse Kleemann Date: Tue, 16 Jul 2024 23:02:34 +0200 Subject: [PATCH] switch to alpine and publish first version --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7e3271..915a8cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ -FROM python:3.12-bookworm +FROM python:3.12-alpine WORKDIR /usr/src/app -COPY requirements.txt requirements.txt +COPY . . RUN pip install --no-cache-dir --prefer-binary -r requirements.txt -COPY . . - CMD [ "python", "./main.py" ]