From 3dc3ec8c0985f09920266f018666054871316bf2 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 15 Jan 2025 13:06:51 -0800 Subject: [PATCH] add missing library to container --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1847596..8c8a16a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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