Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/npm
blob: 43b34dbb1773cfa9b8664128c97649e03d2ebbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

#user_id=$(id -u)
#image=btroops

#if [[ $1 == run && $2 == test* ]]
#then
#  port=3005
#else
#  port=8080
#fi

#docker run --rm --init -it -v $PWD:/usr/src/app -u $user_id:$user_id -p $port:$port $image npm $@

source ./scripts/docker-run npm $@