Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 614a3fb

Browse files
committed
Upgrade to yarn
1 parent 2f870be commit 614a3fb

File tree

4 files changed

+8889
-28710
lines changed

4 files changed

+8889
-28710
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM node:16 AS build
22
ARG BUILD_MODE
33
WORKDIR /app
4-
ADD ./package.json ./package-lock.json /app/
5-
RUN npm install
4+
ADD ./package.json yarn.lock /app/
5+
RUN corepack enable && yarn install --frozen-lockfile --link-duplicates
66
ADD . /app
7-
RUN npm run build -- --mode ${BUILD_MODE}
7+
RUN yarn build --mode ${BUILD_MODE}
88

99
FROM nginx:1.21
1010
ADD ./default.conf /etc/nginx/conf.d/default.conf

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
npm run serve
2+
yarn serve
33

44
build-docker-local:
55
docker build --build-arg BUILD_MODE=development --progress=plain -t calendar_ui:local .

0 commit comments

Comments
 (0)