• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • docker.sh
  • merge
    0fd8583b
    by 陈峰
    2018-08-27 11:21:57 +0800  
    Browse Files
docker.sh 208 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
wordir=$2
needBuild=$1
cd $wordir
yarn --production=false
if [ "$needBuild" == "YES" ];then
    yarn build
fi
yarn build:node --build=$needBuild
/usr/local/bin/node-prune ./dist/node/node_modules