Add local Draco optimization for GLB uploads

This commit is contained in:
CODEX
2026-06-24 21:56:32 +03:00
parent 376a4237fa
commit d601058b3f
14 changed files with 4368 additions and 14 deletions
+5 -1
View File
@@ -20,9 +20,13 @@ WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN npm install -g @xeokit/xeokit-convert@1.3.2 \
COPY package.json package-lock.json ./
RUN npm ci --omit=dev \
&& npm cache clean --force
ENV PATH="/app/node_modules/.bin:${PATH}"
COPY . ./
CMD ["python", "worker.py"]