Skip to content

Commit

Permalink
build: Add build dependencies to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed Nov 10, 2024
1 parent 5f29272 commit 1531531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM gplane/pnpm:node20-alpine AS base
FROM gplane/pnpm:node22-alpine AS base

# Install dependencies only when needed
FROM base AS deps
WORKDIR /app

# Install dependencies
RUN apk add --no-cache python3 alpine-sdk
COPY package.json pnpm-lock.yaml* ./
RUN pnpm fetch

Expand Down

0 comments on commit 1531531

Please sign in to comment.