2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 01:55:39 +00:00

Simplify init scripts

Single script init.sh which performs the following tasks:
- Creates required directory structure
- Activates python venv (if required)
- Waits for database connection
- Runs command
This commit is contained in:
Oliver
2021-08-18 09:52:27 +10:00
parent 3b8ee48581
commit 7bfddd6d51
8 changed files with 34 additions and 176 deletions

View File

@ -35,7 +35,7 @@ services:
build:
context: .
target: dev
entrypoint: /home/inventree/docker/start_dev_worker.sh
command: invoke worker
depends_on:
- inventree-dev-server
volumes: