diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-03-27 23:06:36 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-03-27 23:06:36 -0400 |
| commit | c49d9e0d69685d022fa6ffaa04f91bbe46f67551 (patch) | |
| tree | 5f100e3f9b70340f2e642de286cda01183b6e5b4 /docker-scripts/shell.sh | |
| parent | 35dddcfc0dc2ded193a6b503f9ff4a5a3cd68439 (diff) | |
| download | dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.gz dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.xz | |
Fully dockerized environment
Diffstat (limited to 'docker-scripts/shell.sh')
| -rwxr-xr-x | docker-scripts/shell.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker-scripts/shell.sh b/docker-scripts/shell.sh new file mode 100755 index 0000000..4a417c0 --- /dev/null +++ b/docker-scripts/shell.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# Dumps you to a shell inside of the app container + +docker run --rm -it \ + --network dispatch-tracker_backend \ + -v $(pwd)/static:/static \ + -v $(pwd)/app:/app \ + --user 0 \ + dispatch-app \ + ash |
