diff --git a/Dockerfile b/Dockerfile index 08c6e8b..769494e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,9 @@ WORKDIR /app # Copy package files COPY package*.json ./ -COPY pnpm-lock.yaml* ./ # Install dependencies -RUN npm install -g pnpm -RUN pnpm install --frozen-lockfile +RUN npm ci # Rebuild the source code only when needed FROM base AS builder