add missing library to container
All checks were successful
git.dreamfall.space/pnut-matrix/pipeline/head This commit looks good

This commit is contained in:
Morgan McMillian 2025-01-15 13:06:51 -08:00
parent 7358159293
commit 3dc3ec8c09

View file

@ -1,6 +1,6 @@
FROM python:3.13-slim-bookworm AS builder
RUN apt-get update && apt-get install -y wget unzip
RUN apt-get update && apt-get install -y wget unzip libmagic-dev
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
@ -18,6 +18,8 @@ RUN pip wheel . --wheel-dir /wheels --find-links /wheels
FROM python:3.13-slim-bookworm AS run
RUN apt-get update && apt-get install -y libmagic1
COPY --from=builder /wheels /wheels
RUN pip --no-cache-dir install --find-links /wheels --no-index pnut-matrix