fix: include dev dependencies in Docker npm install

This commit is contained in:
Greg 2025-05-18 15:52:22 +02:00
parent 17914b78ce
commit 67731aa1c7

View File

@ -11,7 +11,7 @@ COPY myfavstuff/package.json myfavstuff/package-lock.json* ./
# Install dependencies # Install dependencies
# Using npm ci for cleaner installs based on package-lock.json # Using npm ci for cleaner installs based on package-lock.json
RUN npm ci --omit=dev RUN npm ci
# Copy the rest of your app's source code from the 'myfavstuff' subdirectory # Copy the rest of your app's source code from the 'myfavstuff' subdirectory
COPY ./myfavstuff/. . COPY ./myfavstuff/. .