frontend: vendor the compound dependencies

This commit is contained in:
Quentin Gliech
2023-07-27 11:46:17 +02:00
parent c562f66b5e
commit ddf426c5d8
6 changed files with 181 additions and 28 deletions

View File

@@ -29,6 +29,7 @@ FROM --platform=${BUILDPLATFORM} docker.io/library/node:${NODEJS_VERSION}-${DEBI
WORKDIR /app/frontend
COPY ./frontend/package.json ./frontend/package-lock.json /app/frontend/
COPY ./frontend/vendor /app/frontend/vendor
# Network access: to fetch dependencies
RUN --network=default \
npm ci