mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Remove commented out functionality from the entrypoint command
This commit is contained in:
		| @@ -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 | ||||
| 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} | ||||
|  | ||||
| # 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 | ||||
| exec "$@" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user