aboutsummaryrefslogtreecommitdiff
path: root/docker-scripts/shell.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-03-27 23:06:36 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-03-27 23:06:36 -0400
commitc49d9e0d69685d022fa6ffaa04f91bbe46f67551 (patch)
tree5f100e3f9b70340f2e642de286cda01183b6e5b4 /docker-scripts/shell.sh
parent35dddcfc0dc2ded193a6b503f9ff4a5a3cd68439 (diff)
downloaddispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.gz
dispatch-tracker-c49d9e0d69685d022fa6ffaa04f91bbe46f67551.tar.xz
Fully dockerized environment
Diffstat (limited to 'docker-scripts/shell.sh')
-rwxr-xr-xdocker-scripts/shell.sh11
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