add missing library to container
All checks were successful
git.dreamfall.space/pnut-matrix/pipeline/head This commit looks good
All checks were successful
git.dreamfall.space/pnut-matrix/pipeline/head This commit looks good
This commit is contained in:
parent
7358159293
commit
3dc3ec8c09
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM python:3.13-slim-bookworm AS builder
|
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
|
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
|
FROM python:3.13-slim-bookworm AS run
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y libmagic1
|
||||||
|
|
||||||
COPY --from=builder /wheels /wheels
|
COPY --from=builder /wheels /wheels
|
||||||
|
|
||||||
RUN pip --no-cache-dir install --find-links /wheels --no-index pnut-matrix
|
RUN pip --no-cache-dir install --find-links /wheels --no-index pnut-matrix
|
||||||
|
|
Loading…
Add table
Reference in a new issue