Drop deprecated use of npm install --production=false (#2298)

This commit is contained in:
Josh Mock
2024-07-01 12:36:52 -05:00
committed by GitHub
parent 069103612a
commit 1f9db892ea
2 changed files with 6 additions and 6 deletions

View File

@ -11,6 +11,6 @@ RUN apt-get clean -y && \
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package.json . COPY package.json .
RUN npm install --production=false RUN npm install
COPY . . COPY . .

View File

@ -24,7 +24,7 @@ USER ${BUILDER_UID}:${BUILDER_GID}
# install dependencies # install dependencies
COPY package.json . COPY package.json .
RUN npm install --production=false RUN npm install
# copy project files # copy project files
COPY . . COPY . .