Dockerfile: use python alpine and install dev libs
Otherwise, this doesn't seem to build on arm64
This commit is contained in:
parent
625358ba55
commit
5d2d4ff560
@ -1,9 +1,14 @@
|
|||||||
# Basis-Image (kann je nach Python-Version angepasst werden)
|
# Basis-Image (kann je nach Python-Version angepasst werden)
|
||||||
FROM python:3.13-slim
|
FROM python:3.13-alpine
|
||||||
|
|
||||||
# Arbeitsverzeichnis erstellen
|
# Arbeitsverzeichnis erstellen
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apk update && apk add \
|
||||||
|
python3-dev \
|
||||||
|
gcc \
|
||||||
|
libc-dev
|
||||||
|
|
||||||
# Requirements in den Container kopieren
|
# Requirements in den Container kopieren
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user