i guess I added dockerignore after?

This commit is contained in:
2025-12-18 16:44:09 +00:00
parent cf44635c72
commit a30d35f4da
3 changed files with 6 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
# Stage 1: Build the project
FROM node:18 AS builder
FROM node:20 AS builder
WORKDIR /app
# Copy package.json and pnpm-lock.yaml to the working directory
@@ -17,7 +17,7 @@ COPY . .
RUN pnpm build
# Stage 2: Serve the app using the same version of Node
FROM node:18-alpine
FROM node:20-alpine
WORKDIR /app
# Install a simple http server