Skip to content

Instantly share code, notes, and snippets.

@asbubam
Last active October 23, 2018 05:30
Show Gist options
  • Save asbubam/7f949c5ddce0b0853c44618684ec56c9 to your computer and use it in GitHub Desktop.
Save asbubam/7f949c5ddce0b0853c44618684ec56c9 to your computer and use it in GitHub Desktop.

Revisions

  1. asbubam renamed this gist Oct 23, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. asbubam created this gist Oct 23, 2018.
    2 changes: 2 additions & 0 deletions build.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    mkdir -p /tmp/npm-cache-linux
    docker run -v /tmp/npm-cache-linux:/root/.npm -v "$PWD":/usr/src/app -w /usr/src/app node:alpine sh -c 'npm install --prefix ./build ./'