fix: include dev dependencies in Docker npm install
This commit is contained in:
parent
17914b78ce
commit
67731aa1c7
@ -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/. .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user