mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
feat: Implement Remotion video rendering API with TTS, word timings, and Docker pre-bundling.
This commit is contained in:
1 parent
d98d43cd06
commit
e472e05a3b
3 files changed
+33
-5
No files matched your search
+8
-1
@@ -63,7 +63,14 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
RUN npm run build
|
||||
|
||||
# Nettoyer les fichiers inutiles pour réduire la taille
|
||||
RUN rm -rf client node_modules/.cache
|
||||
# On garde client/src/remotion car le serveur en a besoin au runtime pour le bundling
|
||||
RUN rm -rf client/node_modules \
|
||||
client/.vite \
|
||||
node_modules/.cache \
|
||||
/tmp/remotion-*
|
||||
|
||||
# Pré-bundler la composition Remotion pendant le build (speedup au premier rendu)
|
||||
RUN node scripts/prebundle-remotion.js || true
|
||||
|
||||
# Exposer le port de l'application
|
||||
EXPOSE 5555
|
||||
|
||||
Reference in new issue
Block a user