Skip to content

Commit 3001b50

Browse files
committed
add pptxgen setup to dockerfile
1 parent 255d695 commit 3001b50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/app.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,15 @@ COPY --from=builder --chown=nextjs:nodejs /app/apps/sim/.next/static ./apps/sim/
108108
# Copy isolated-vm native module (compiled for Node.js in deps stage)
109109
COPY --from=deps --chown=nextjs:nodejs /app/node_modules/isolated-vm ./node_modules/isolated-vm
110110

111+
# Copy PPTX runtime dependency
112+
COPY --from=deps --chown=nextjs:nodejs /app/node_modules/pptxgenjs ./node_modules/pptxgenjs
113+
111114
# Copy the isolated-vm worker script
112115
COPY --from=builder --chown=nextjs:nodejs /app/apps/sim/lib/execution/isolated-vm-worker.cjs ./apps/sim/lib/execution/isolated-vm-worker.cjs
113116

117+
# Copy the PPTX worker script
118+
COPY --from=builder --chown=nextjs:nodejs /app/apps/sim/lib/execution/pptx-worker.cjs ./apps/sim/lib/execution/pptx-worker.cjs
119+
114120
# Guardrails setup with pip caching
115121
COPY --from=builder --chown=nextjs:nodejs /app/apps/sim/lib/guardrails/requirements.txt ./apps/sim/lib/guardrails/requirements.txt
116122
COPY --from=builder --chown=nextjs:nodejs /app/apps/sim/lib/guardrails/validate_pii.py ./apps/sim/lib/guardrails/validate_pii.py

0 commit comments

Comments
 (0)