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
This commit is contained in:
TheMaddax 2025-12-17 19:45:08 -07:00
parent 90550d34b7
commit 7583712730

View file

@ -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 . .