diff --git a/Dockerfile b/Dockerfile index 71ef2a9..4426691 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,13 @@ # ========================================= # Stage 1: Build the TanStack Start Application # ========================================= -ARG NODE_VERSION=24.12.0-alpine +ARG NODE_VERSION=24.12.0-slim # Use a lightweight Node.js image for building (customizable via ARG) FROM node:${NODE_VERSION} AS builder +ENV PNPM_HOME="/pnpm" +ENV PATH="$PNPM_HOME:$PATH" +RUN corepack enable # Set the working directory inside the container WORKDIR /app