chore: add Docker deployment setup
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
cd /var/www/html
|
||||
|
||||
if [ ! -d node_modules ] || [ ! -f node_modules/.package-lock.json ]; then
|
||||
npm install
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user