mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 02:35:42 -04:00
feat: add bindable working dir /usr/bin/app
working directory can now be bound to user host machine
This commit is contained in:
@@ -27,6 +27,7 @@ fi
|
||||
echo " Port(s) $(echo $WEB_PORT)"
|
||||
echo " Gateway $(echo $IP_GATEWAY)"
|
||||
echo " Web Server $(echo $IP_CONTAINER:$WEB_PORT)"
|
||||
echo " App Folder $(echo $WORKING_DIR)"
|
||||
echo ""
|
||||
echo '──────────────────────────────────────────────────────────────────────────────────────────'
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
cd "/usr/src/app"
|
||||
|
||||
# #
|
||||
# install and startup for tvapp2
|
||||
# #
|
||||
|
||||
cp -r ${INSTALL_DIR} ${WORKING_DIR}
|
||||
rm -rf ${INSTALL_DIR}/*
|
||||
cd ${WORKING_DIR}
|
||||
npm start
|
||||
|
||||
Reference in New Issue
Block a user