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

Commit a4e7f28

Browse files
committed
Using yarn instead of npm
Updating packages versions to latest version
1 parent e15c2d2 commit a4e7f28

File tree

5 files changed

+9013
-26854
lines changed

5 files changed

+9013
-26854
lines changed

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ FROM node:12-alpine as builder
44
WORKDIR /build
55

66
# Copy the package.json and install dependencies
7-
COPY package*.json ./
8-
RUN npm ci
7+
COPY yarn.lock .
8+
COPY package.json .
9+
RUN yarn install --frozen-lockfile
910

1011
# Copy rest of the files
1112
COPY . .
1213

1314
# Build the project
14-
RUN npm run build
15+
RUN yarn build
1516

1617
FROM caddy:2.1.1
1718

0 commit comments

Comments
 (0)