Explorar el Código

feat:修改了NODE18模板的config

xuxiaopang hace 2 años
padre
commit
786ed02c21
Se han modificado 1 ficheros con 1 adiciones y 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