This commit is contained in:
philipcheung 2025-03-16 21:48:38 +08:00
parent 64c4ee8f63
commit cb3dfa6f85
1 changed files with 1 additions and 4 deletions

View File

@ -6,12 +6,9 @@ COPY package.json .
RUN npm install RUN npm install
RUN npm i -g serve
COPY . . COPY . .
RUN npm run build
EXPOSE 3000 EXPOSE 3000
CMD [ "serve", "-s", "dist" ] CMD ["npm", "run", "dev"]