docker
This commit is contained in:
@@ -5,10 +5,9 @@ if [ -d /app/.git ]; then
|
||||
cd /app
|
||||
git pull
|
||||
else
|
||||
cd /app
|
||||
cd /tmp
|
||||
git clone "$GIT_REPO_URL" /tmp/app-tmp
|
||||
cp -a /tmp/app-tmp/. /app/
|
||||
rm -rf /tmp/app-tmp
|
||||
fi
|
||||
npm i
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user