BinaryONe
commited on
Commit
·
c1fc228
1
Parent(s):
0921002
InitialCommit -Modification in Dockerfile
Browse files- start_apps.sh +2 -0
start_apps.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
#!/bin/sh
|
| 2 |
|
| 3 |
# Start nginx in a separate shell (background)
|
|
|
|
| 4 |
(
|
| 5 |
echo "* Activating virtual environment *PWD $(pwd) *"
|
| 6 |
source /app/PyEnv/bin/activate
|
|
@@ -9,4 +10,5 @@
|
|
| 9 |
python3 -u -m FlaskWebApp || { echo "Failed to start WebSSH application"; exit 1; } > /app/flask.log 2>&1
|
| 10 |
#python3 -u -m FlaskWebApp > /app/flask.log 2>&1
|
| 11 |
) &
|
|
|
|
| 12 |
nginx -g "daemon off;" > /dev/stdout; #> /app/nginx.log 2>&1
|
|
|
|
| 1 |
#!/bin/sh
|
| 2 |
|
| 3 |
# Start nginx in a separate shell (background)
|
| 4 |
+
echo "* Starting The Python Application *";
|
| 5 |
(
|
| 6 |
echo "* Activating virtual environment *PWD $(pwd) *"
|
| 7 |
source /app/PyEnv/bin/activate
|
|
|
|
| 10 |
python3 -u -m FlaskWebApp || { echo "Failed to start WebSSH application"; exit 1; } > /app/flask.log 2>&1
|
| 11 |
#python3 -u -m FlaskWebApp > /app/flask.log 2>&1
|
| 12 |
) &
|
| 13 |
+
echo "* Starting The NGINX *";
|
| 14 |
nginx -g "daemon off;" > /dev/stdout; #> /app/nginx.log 2>&1
|