i guess I added dockerignore after?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user