mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
fix dockerfile
This commit is contained in:
1 parent
9ffd92f6bf
commit
19d0c333ac
1 file changed
+2
-1
+2
-1
@@ -52,7 +52,8 @@ RUN mkdir -p server/fonts && \
|
||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
|
||||
# Build du frontend et backend avec logs détaillés
|
||||
RUN npm run build 2>&1 | tee build.log || (cat build.log && exit 1)
|
||||
# Build du frontend et backend (Exit on error)
|
||||
RUN npm run build
|
||||
|
||||
# Nettoyer les fichiers inutiles pour réduire la taille
|
||||
RUN rm -rf client node_modules/.cache
|
||||
|
||||
Reference in new issue
Block a user