build: refs #6706 npm install optimized in docker build
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2024-02-01 11:23:20 +01:00
parent 04e5c606fd
commit f454782c26
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ RUN apt-get update \
WORKDIR /salix
COPY print/package.json print/package-lock.json print/
RUN npm --prefix ./print install --omit=dev ./print
RUN npm install --no-audit --prefer-offline --omit=dev --prefix=print
COPY package.json package-lock.json ./
COPY loopback/package.json loopback/
RUN npm install --omit=dev
RUN npm install --no-audit --prefer-offline --omit=dev
COPY loopback loopback
COPY back back