All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 19s
Build & Deploy / 🧪 QA (push) Successful in 1m20s
Build & Deploy / 🏗️ Build (push) Successful in 2m38s
Build & Deploy / 🚀 Deploy (push) Successful in 28s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 51s
Build & Deploy / 🔔 Notify (push) Successful in 3s
19 lines
449 B
Docker
19 lines
449 B
Docker
FROM node:20-alpine
|
|
|
|
# Install essential build tools if needed (e.g., for node-gyp)
|
|
RUN apk add --no-cache libc6-compat python3 make g++ curl git
|
|
|
|
WORKDIR /app
|
|
|
|
# Install pnpm v10 explicitly (corepack defaults to v11 which requires Node 22)
|
|
RUN npm install -g pnpm@10.18.3
|
|
|
|
# Pre-set the pnpm store directory
|
|
ENV PNPM_HOME="/pnpm"
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
|
|
|
# Set up pnpm store configuration
|
|
RUN pnpm config set store-dir /pnpm/store
|
|
|
|
EXPOSE 3000
|