mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Fix build errors by correctly installing development dependencies
Update Dockerfile to install all npm dependencies including devDependencies by removing `--omit=dev` from `npm ci` and `npm install` commands. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/RUoRc2A
This commit is contained in:
1 parent
fd68bd7eeb
commit
1fc9071765
1 file changed
+2
-1
+2
-1
@@ -44,8 +44,9 @@ RUN apk add --no-cache \
|
||||
pixman
|
||||
|
||||
# Installer toutes les dépendances (drizzle-kit est nécessaire pour push)
|
||||
# IMPORTANT: Ne pas utiliser --omit=dev car drizzle-kit est dans devDependencies
|
||||
COPY package*.json ./
|
||||
RUN npm ci --legacy-peer-deps --omit=dev || npm install --legacy-peer-deps --omit=dev
|
||||
RUN npm ci --legacy-peer-deps || npm install --legacy-peer-deps
|
||||
|
||||
# Copier les fichiers buildés et le code serveur
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
Reference in new issue
Block a user