This commit is contained in:
philipcheung 2025-03-16 16:19:44 +08:00
parent f2c968d32c
commit a5754b3399
1 changed files with 4 additions and 2 deletions

View File

@ -2,11 +2,13 @@ FROM node:20 AS build-stage
WORKDIR /app WORKDIR /app
COPY package*.json /app/ COPY package.json .
RUN npm install RUN npm install
COPY ./ /app/ RUN npm i -g serve
COPY . .
RUN npm run build RUN npm run build