aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile24
1 files changed, 1 insertions, 23 deletions
diff --git a/Pipfile b/Pipfile
index 492008a..1e9ec67 100644
--- a/Pipfile
+++ b/Pipfile
@@ -40,29 +40,7 @@ snekbox = """
--access-logfile - \
snekbox.api.app
"""
-build-venv-dev = """
- docker build \
- -t pythondiscord/snekbox-venv:dev \
- -f docker/venv.Dockerfile
- --build-arg DEV=1 \
- .
-"""
-devsh = """
- /usr/bin/env sh -c '
- docker run \
- -it \
- --rm \
- --privileged \
- --network host \
- -h pdsnk-dev \
- -e PIPENV_PIPFILE="/snekbox/Pipfile" \
- -e ENV="/snekbox-local/docker/.profile" \
- -v "$(pwd)":/snekbox-local \
- -w "/snekbox-local" \
- --entrypoint /bin/ash \
- pythondiscord/snekbox-venv:dev
- '
-"""
+devsh = "scripts/dev.sh"
buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ."
pushbox = "docker push pythondiscord/snekbox:latest"
buildboxbase = "docker build -t pythondiscord/snekbox-base:latest -f docker/base.Dockerfile ."