Explorar o código

feat:修改了NODE18模板的config

xuxiaopang %!s(int64=2) %!d(string=hai) anos
pai
achega
786ed02c21
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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