Ver Fonte

feat:修改了NODE18模板的config

xuxiaopang há 2 anos atrás
pai
commit
786ed02c21
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web/src/main/resources/template/dockerfile/NODE_18

+ 1 - 1
web/src/main/resources/template/dockerfile/NODE_18

@@ -5,7 +5,7 @@ RUN npm config set registry https://registry.npmmirror.com/
 ADD package.json /code
 RUN npm install
 ADD . /code
-RUN vite build
+RUN npm run build
 
 FROM nginx:1.19-alpine
 COPY --from=builder /code/nginx.conf /etc/nginx/conf.d/nginx.conf