From ec2f5882322ed88bd829b9bbbcdabce7669a9853 Mon Sep 17 00:00:00 2001 From: Jesse Kleemann Date: Sat, 26 Oct 2024 03:32:04 +0200 Subject: [PATCH] 1.0.1 switch to alpine --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1ccb4f..6b0cab1 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", "./service.py" ]