• This project
    • Loading...
  • Sign in

fe / yohobuy-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 1
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuy-node
  • docker.sh
  • Update docker.sh
    2496433b
    by jimi.ji
    2019-01-16 09:45:09 +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