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

Add server init script

- Taken (mostly) from https://github.com/inventree/InvenTree/pull/1949
This commit is contained in:
Oliver
2021-08-17 23:10:57 +10:00
parent 8b66babd49
commit 187c9b0971
3 changed files with 71 additions and 2 deletions

View File

@ -114,7 +114,7 @@ ENV INVENTREE_DEV_DIR="${INVENTREE_HOME}/dev"
# Location for python virtual environment
# If the INVENTREE_PY_ENV variable is set, the entrypoint script will use it!
ENV INVENTREE_PY_ENV="${INVENTREE_HOME}/dev/env"
ENV INVENTREE_PY_ENV="${INVENTREE_DEV}/env"
# Override default path settings
ENV INVENTREE_STATIC_ROOT="${INVENTREE_DEV_DIR}/static"