try to implement the global containerization
This commit is contained in:
1 parent
e2b471312c
commit
ed38086d09
24 files changed
+966
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
APP_DIR=/var/www/app
|
||||
IS_DEV=${DEV:-0}
|
||||
|
||||
run() {
|
||||
if [ "$IS_DEV" = 1 ]; then
|
||||
gosu www-data "$@"
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user