mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 09: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:
@@ -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