Skip to content

Commit c788f9e

Browse files
committed
chore: pnpm
1 parent 3645d85 commit c788f9e

4 files changed

Lines changed: 15031 additions & 35742 deletions

File tree

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@ ENV PORT 8080
77
# Create working directory
88
WORKDIR /usr/src/app
99

10-
# Install Angular CLI globally
10+
# Enable Corepack and install pnpm.
11+
RUN corepack enable && corepack prepare pnpm@latest --activate
12+
13+
# Install Angular CLI globally.
1114
RUN npm install -g @angular/cli
1215

13-
# Copy package files
14-
COPY package*.json ./
16+
# Copy package files.
17+
COPY package*.json pnpm-lock.yaml* ./
1518

16-
# Install ALL dependencies (both production and dev)
17-
RUN npm install
19+
# Install ALL dependencies (both production and dev).
20+
RUN pnpm i
1821

1922
# Copy all source files
2023
COPY . .

0 commit comments

Comments
 (0)