Fixed new build with extra packages

This commit is contained in:
2025-05-21 10:57:41 +01:00
parent 6d0c6e5db5
commit 17f1ba0426

View File

@@ -8,8 +8,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o server ./main.go
FROM alpine:latest
RUN apk update
RUN apk add blender py3-pip
RUN pip install numpy scipy trimesh
RUN del py3-pip
RUN pip install --break-system-packages numpy scipy trimesh
RUN apk del py3-pip
WORKDIR /root/
COPY --from=builder /app/server .