[FIX] update dockerfile

This commit is contained in:
Edouard DUPIN 2024-04-07 19:22:46 +02:00
parent eb3cd1b1fe
commit 4b545ebbe2
2 changed files with 5 additions and 17200 deletions

View File

@ -6,7 +6,7 @@
FROM archlinux:base-devel AS builder
# update system
RUN pacman -Syu --noconfirm && pacman-db-upgrade \
&& pacman -S --noconfirm jdk-openjdk maven npm \
&& pacman -S --noconfirm jdk-openjdk maven npm pnpm \
&& pacman -Scc --noconfirm
ENV PATH /tmp/node_modules/.bin:$PATH
@ -29,14 +29,16 @@ RUN mvn clean compile assembly:single
######################################################################################
FROM builder AS buildFront
ADD front/package-lock.json \
RUN echo "@kangaroo-and-rabbit:registry=https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/npm/" > /root/.npmrc
ADD front/pnpm-lock.yaml \
front/package.json \
front/karma.conf.js \
front/protractor.conf.js \
/tmp/
# install and cache app dependencies
RUN npm install
RUN pnpm install
ADD front/e2e \
front/tsconfig.json \

17197
front/package-lock.json generated

File diff suppressed because it is too large Load Diff