Skip to content

Commit 8e8c058

Browse files
committed
fix: use --omit=dev for npm install with Node 24
1 parent 78cd6c8 commit 8e8c058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN apk --update add git chromium && \
5050
COPY --from=build /libraries /libraries
5151

5252
# Install the dependencies
53-
RUN cd /libraries && npm install --production --ignore-scripts
53+
RUN cd /libraries && npm install --omit=dev --ignore-scripts
5454

5555
# Create a script that runs the desired command
5656
RUN ln -s /libraries/bin/run_bin /usr/local/bin/asyncapi

0 commit comments

Comments
 (0)