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

Commit

Permalink
Upgrade to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Aug 29, 2022
1 parent 2f870be commit 614a3fb
Show file tree
Hide file tree
Showing 4 changed files with 8,889 additions and 28,710 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:16 AS build
ARG BUILD_MODE
WORKDIR /app
ADD ./package.json ./package-lock.json /app/
RUN npm install
ADD ./package.json yarn.lock /app/
RUN corepack enable && yarn install --frozen-lockfile --link-duplicates
ADD . /app
RUN npm run build -- --mode ${BUILD_MODE}
RUN yarn build --mode ${BUILD_MODE}

FROM nginx:1.21
ADD ./default.conf /etc/nginx/conf.d/default.conf
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
npm run serve
yarn serve

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

0 comments on commit 614a3fb

Please sign in to comment.