Update dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user