mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-23 15:08:13 +02:00
feat: add libcap to Dockerfile and ensure Remotion browser binary is downloaded
This commit is contained in:
1 parent
b15ba68b78
commit
297af0ab0d
2 files changed
+15
-2
No files matched your search
+6
-1
@@ -31,7 +31,8 @@ RUN apk add --no-cache \
|
||||
harfbuzz \
|
||||
ca-certificates \
|
||||
ttf-freefont \
|
||||
ffmpeg
|
||||
ffmpeg \
|
||||
libcap
|
||||
|
||||
# Copier les fichiers de configuration
|
||||
COPY package*.json ./
|
||||
@@ -72,6 +73,10 @@ RUN rm -rf client/node_modules \
|
||||
# Pré-bundler la composition Remotion pendant le build (speedup au premier rendu)
|
||||
RUN node scripts/prebundle-remotion.js || true
|
||||
|
||||
# S'assurer que le binaire browser de Remotion est téléchargé et disponible
|
||||
RUN npx remotion browser ensure
|
||||
|
||||
|
||||
# Exposer le port de l'application
|
||||
EXPOSE 5555
|
||||
|
||||
|
||||
Reference in new issue
Block a user