diff options
author | 2020-02-21 16:10:37 -0800 | |
---|---|---|
committer | 2020-02-21 16:14:43 -0800 | |
commit | f622e84607a8ecb4d8dd75d731063423ab38d189 (patch) | |
tree | a0133bdfa0f771ef9418ecbee550a8ea12625aec /scripts/.profile | |
parent | Merge pull request #55 from python-discord/proper-chroot (diff) |
CI: install Pipfile into system interpreter
A virtual environment is redundant in the context of deployment. It
just increases the size and build time of the image.
* Replace venv with system interpreter
* Mount Python binaries in /usr/local/bin in NsJail
* Fix #61: Python symlink in venv not resolving
* Re-lock Pipfile because it wasn't up to date according to
pipenv install --deploy
Diffstat (limited to 'scripts/.profile')
-rw-r--r-- | scripts/.profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/.profile b/scripts/.profile index 73fbb28..69ad959 100644 --- a/scripts/.profile +++ b/scripts/.profile @@ -17,5 +17,5 @@ nsjpy() { nsjail \ --config "${NSJAIL_CFG:-/snekbox/snekbox.cfg}" \ $nsj_args -- \ - /snekbox/.venv/bin/python3 -Iqu -c "$@" + /usr/local/bin/python -Iqu -c "$@" } |