diff --git a/Dockerfile b/Dockerfile index 5bc5613..71ef2a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,13 @@ WORKDIR /app COPY package.json package-lock.json* ./ # Install project dependencies using npm ci (ensures a clean, reproducible install) -RUN npm ci +RUN pnpm install # Copy the rest of the application source code into the container COPY . . # Build the TanStack Start application (outputs to /app/.output) -RUN npm run build +RUN pnpm run build # ========================================= # Stage 2: Run the TanStack Start Server @@ -43,4 +43,4 @@ USER node # Expose the application port EXPOSE 3000 -ENTRYPOINT ["node", "server/index.mjs"] \ No newline at end of file +ENTRYPOINT ["node", "server/index.mjs"]