From 5d2d4ff560cef3a632a29207ff5c6fc8c0eae928 Mon Sep 17 00:00:00 2001 From: lemoer Date: Sun, 29 Dec 2024 01:39:45 +0100 Subject: [PATCH] Dockerfile: use python alpine and install dev libs Otherwise, this doesn't seem to build on arm64 --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 26971da..8f92b2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,14 @@ # Basis-Image (kann je nach Python-Version angepasst werden) -FROM python:3.13-slim +FROM python:3.13-alpine # Arbeitsverzeichnis erstellen WORKDIR /app +RUN apk update && apk add \ + python3-dev \ + gcc \ + libc-dev + # Requirements in den Container kopieren COPY requirements.txt requirements.txt