docs: refresh project structure notes
This commit is contained in:
+1
-5
@@ -27,7 +27,7 @@ FROM node:20-slim AS runner
|
||||
LABEL maintainer="La Fabrik Durable"
|
||||
LABEL description="Secure GLTF upload interface with Draco compression and GitHub push"
|
||||
|
||||
# Install Blender (headless) + runtime helpers
|
||||
# Blender is required for server-side Draco GLB export.
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
blender \
|
||||
tini \
|
||||
@@ -41,18 +41,14 @@ ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME=0.0.0.0
|
||||
|
||||
# Copy build artifacts
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
COPY --from=builder /app/.next/static ./.next/static
|
||||
COPY --from=builder /app/public ./public
|
||||
|
||||
# Copy the Blender compression script
|
||||
COPY --from=builder /app/scripts ./scripts
|
||||
|
||||
# Ensure tmp dir for uploads exists
|
||||
RUN mkdir -p /tmp/assets
|
||||
|
||||
# Copy entrypoint
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user