From 7583712730135ebba0eaa62098517873616bcf8a Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 17 Dec 2025 19:45:08 -0700 Subject: [PATCH] Fix Dockerfile: Use npm install instead of npm ci - package-lock.json not in repo (.gitignore) - npm ci requires existing lock file - npm install will generate it during build --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 23aa4e4a..9e56bebe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,10 +31,10 @@ COPY composer.json ./ RUN composer install --no-dev --optimize-autoloader --no-scripts --no-interaction # Copy package files -COPY package.json package-lock.json* ./ +COPY package.json ./ -# Install Node dependencies -RUN npm ci --legacy-peer-deps +# Install Node dependencies (generate package-lock.json if missing) +RUN npm install --legacy-peer-deps # Copy application files COPY . .