Update dockerfile

This commit is contained in:
2026-01-28 21:27:53 +01:00
parent 297bdf26b5
commit 9077f640fe

View File

@@ -13,13 +13,13 @@ WORKDIR /app
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
# Install project dependencies using npm ci (ensures a clean, reproducible install) # 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 the rest of the application source code into the container
COPY . . COPY . .
# Build the TanStack Start application (outputs to /app/.output) # Build the TanStack Start application (outputs to /app/.output)
RUN npm run build RUN pnpm run build
# ========================================= # =========================================
# Stage 2: Run the TanStack Start Server # Stage 2: Run the TanStack Start Server