From a5754b33994ac71b4620b0a61ab1a21ffd0a78e0 Mon Sep 17 00:00:00 2001 From: philipcheung Date: Sun, 16 Mar 2025 16:19:44 +0800 Subject: [PATCH] edited --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01e6c16..4662516 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,13 @@ FROM node:20 AS build-stage WORKDIR /app -COPY package*.json /app/ +COPY package.json . RUN npm install -COPY ./ /app/ +RUN npm i -g serve + +COPY . . RUN npm run build