fix(ci): fix docker build issue, fe should be built before be

This commit is contained in:
hexxa 2022-05-14 16:45:37 +08:00 committed by Hexxa
parent 5b63605993
commit e5039cf160
5 changed files with 22 additions and 21 deletions

View file

@ -9,7 +9,8 @@
"build:fe:watch": "yarn && bash scripts/copy_js.sh && webpack --config src/client/web/webpack.app.prod.js --watch",
"start": "yarn build:fe && go run cmd/start/main.go -c `pwd`/configs/dev.yml",
"build": "yarn build:fe && bash scripts/build_be.sh",
"build:docker": "docker build . -t hexxa/quickshare:latest"
"build:docker": "docker build . -f Dockerfile_default -t hexxa/quickshare:latest",
"build:docker:heroku": "docker build . -t hexxa/quickshare:latest"
},
"dependencies": {}
}