novo modelo 3d
This commit is contained in:
1 parent
bc7e77b007
commit
08cb8c426f
11 files changed
+301
-256
No files matched your search
@@ -3,17 +3,8 @@
|
||||
# Alpine essa dependência é bem mais dolorosa de resolver.
|
||||
FROM node:20-bookworm
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends assimp-utils ca-certificates python3 python3-venv \
|
||||
&& apt-get install -y --no-install-recommends assimp-utils ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Ambiente Python isolado só pra buscar as organelas reais da célula
|
||||
# (fetch-cell-organelles.py) — cloud-volume/trimesh não têm nada a ver com
|
||||
# o resto do pipeline (100% Node/glTF-transform), então ficam num venv
|
||||
# próprio em vez de poluir o Python do sistema.
|
||||
RUN python3 -m venv /opt/venv-cell \
|
||||
&& /opt/venv-cell/bin/pip install --no-cache-dir --upgrade pip \
|
||||
&& /opt/venv-cell/bin/pip install --no-cache-dir cloud-volume trimesh
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
|
||||
Reference in new issue
Block a user