mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Remove commented out functionality from the entrypoint command
This commit is contained in:
parent
c2af401854
commit
c1ea6dbb9b
@ -36,21 +36,7 @@ if [[ -n "$INVENTREE_PY_ENV" ]]; then
|
|||||||
# e.g docker-compose -f docker-compose.dev.yml run inventree-dev-server invoke install
|
# e.g docker-compose -f docker-compose.dev.yml run inventree-dev-server invoke install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wait for the InvenTree database to be ready
|
|
||||||
# cd ${INVENTREE_MNG_DIR}
|
|
||||||
# echo "InvenTree: Waiting for database connection"
|
|
||||||
# invoke wait && echo "InvenTree: Database connection successful" || { echo "InvenTree: Failed to connect to db due to errors, aborting"; exit 1; }
|
|
||||||
# sleep 5
|
|
||||||
|
|
||||||
cd ${INVENTREE_HOME}
|
cd ${INVENTREE_HOME}
|
||||||
|
|
||||||
# We assume at this stage that the database is up and running
|
|
||||||
# echo "InvenTree: Checking database..."
|
|
||||||
# invoke check || exit 1
|
|
||||||
|
|
||||||
# Can be run as a cron job or directly to clean out expired sessions.
|
|
||||||
# cd ${INVENTREE_MNG_DIR}
|
|
||||||
# python3 manage.py clearsessions || exit 1
|
|
||||||
|
|
||||||
# Launch the CMD *after* the ENTRYPOINT completes
|
# Launch the CMD *after* the ENTRYPOINT completes
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user