Skip to content

Commit

Permalink
docker: make it possible to inject python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Sep 29, 2024
1 parent f2659eb commit e7347b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ if [[ -n "${GLAD_LATEST}" ]]; then
pip install --upgrade --force-reinstall --use-pep517 https://github.com/dav1dde/glad/archive/glad2.zip
fi

if [[ -n "${PYTHON_PACKAGES}" ]]; then
pip install --upgrade --force-reinstall --use-pep517 ${PYTHON_PACKAGES}
fi

python -m gladweb init

exec gunicorn -c gunicorn.config.py 'gladweb:create_application(debug=False, verbose=None)' "$@"

0 comments on commit e7347b9

Please sign in to comment.