2
0

build-docker-img-server-quickly.sh 374 B

1234567891011121314
  1. if [ "$#" == "0" ]; then
  2. echo "Usage: sh $0 TAG"
  3. echo "\tTAG: 1.2.3"
  4. exit 1
  5. fi
  6. TAG="$1"
  7. echo "BUILD TAG: $TAG"
  8. # don't rebuild console project in quickly mode
  9. #cd ./console && npm run build:prod && cd ../
  10. docker build -t igeeky/wolf-server:$TAG -f ./server/DockerfileQuickly ./server
  11. docker build -t igeeky/wolf-server:latest -f ./server/DockerfileQuickly ./server