前端更改为yarn编译

This commit is contained in:
bjdgyc
2022-04-07 15:58:26 +08:00
parent 2b580067a2
commit 7a92aa8dff
6 changed files with 8673 additions and 12216 deletions

View File

@@ -2,12 +2,12 @@
FROM node:lts-alpine as builder_node
WORKDIR /web
COPY ./web /web
RUN npm install --registry=https://registry.npm.taobao.org \
&& npm run build \
RUN yarn install \
&& yarn run build \
&& ls /web/ui
# server
FROM golang:1.16-alpine as builder_golang
FROM golang:1.17-alpine as builder_golang
#TODO 本地打包时使用镜像
ENV GOPROXY=https://goproxy.io
ENV GOOS=linux