docker_update.sh 156 Bytes
Newer Older
priit's avatar
priit committed
1
2
3
4
5
6
#!/bin/bash

cd /src
git pull
npm install

priit's avatar
priit committed
7
8
9
10
if [ -f /config/config.js ]; then
    cp /config/config.js /src/config.js
fi

priit's avatar
priit committed
11
12
forever stopall
forever /src/app.js