chore: 更新项目打包脚本

This commit is contained in:
RockYang 2023-07-16 09:55:00 +08:00
parent 797ff66474
commit fb554c0315
2 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
version=$1
# build go api
cd ../api/go
cd ../api
make clean linux
# build web app
cd ../../web
cd ../web
npm run build
cd ../docker

View File

@ -4,7 +4,7 @@ FROM registry.cn-hangzhou.aliyuncs.com/geekmaster/ubuntu-ca:22.04
MAINTAINER yangjian<yangjian102621@163.com>
WORKDIR /var/www/app
COPY ./api/go/bin/chatgpt-v3-amd64-linux /var/www/app
COPY ./api/bin/chatgpt-v3-amd64-linux /var/www/app
EXPOSE 5678