This commit is contained in:
2025-03-16 21:48:38 +08:00
parent 64c4ee8f63
commit cb3dfa6f85

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"]