Skip to content

Commit 3dd428d

Browse files
committed
Build with yarn instead of npm
1 parent 9a80449 commit 3dd428d

File tree

3 files changed

+2091
-6475
lines changed

3 files changed

+2091
-6475
lines changed

Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
FROM node:18-bullseye AS web-builder
44
WORKDIR /web
5-
COPY package.json package-lock.json ./
6-
RUN npm ci
5+
COPY package.json yarn.lock ./
6+
RUN yarn install --frozen-lockfile
77
COPY . ./
8-
RUN npm run build --mode production
9-
8+
RUN yarn run build
109

1110
FROM node:18-bullseye AS web-runner
1211
WORKDIR /web

0 commit comments

Comments
 (0)