mirror of
https://github.com/Cian-H/simple_blender_server.git
synced 2025-12-22 21:41:56 +00:00
Fixed new build with extra packages
This commit is contained in:
@@ -8,8 +8,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o server ./main.go
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add blender py3-pip
|
RUN apk add blender py3-pip
|
||||||
RUN pip install numpy scipy trimesh
|
RUN pip install --break-system-packages numpy scipy trimesh
|
||||||
RUN del py3-pip
|
RUN apk del py3-pip
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
COPY --from=builder /app/server .
|
COPY --from=builder /app/server .
|
||||||
|
|||||||
Reference in New Issue
Block a user