Skip to content

Commit 1f9db89

Browse files
authored
Drop deprecated use of npm install --production=false (#2298)
1 parent 0691036 commit 1f9db89

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.buildkite/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ FROM node:$NODE_VERSION
33

44
# Install required tools
55
RUN apt-get clean -y && \
6-
apt-get -qy update && \
7-
apt-get -y install zip && \
8-
apt-get clean && \
9-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6+
apt-get -qy update && \
7+
apt-get -y install zip && \
8+
apt-get clean && \
9+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1010

1111
WORKDIR /usr/src/app
1212

1313
COPY package.json .
14-
RUN npm install --production=false
14+
RUN npm install
1515

1616
COPY . .

.buildkite/Dockerfile-make

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ USER ${BUILDER_UID}:${BUILDER_GID}
2424

2525
# install dependencies
2626
COPY package.json .
27-
RUN npm install --production=false
27+
RUN npm install
2828

2929
# copy project files
3030
COPY . .

0 commit comments

Comments
 (0)