aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-08-26 14:24:55 -0600
committerChristine Dodrill <me@christine.website>2018-08-26 14:24:55 -0600
commitcfd08e99918d36e475ed30a0d4e0c5db77198d20 (patch)
tree8e84fd536d7279960ba6dd57ae123c02ea2809e2 /scripts
parent621dfede340cd736104ef5382f8c896972ff463e (diff)
downloadxesite-cfd08e99918d36e475ed30a0d4e0c5db77198d20.tar.xz
xesite-cfd08e99918d36e475ed30a0d4e0c5db77198d20.zip
scripts: local docker build/run
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/docker.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/docker.sh b/scripts/docker.sh
new file mode 100755
index 0000000..05e4c88
--- /dev/null
+++ b/scripts/docker.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+docker build -t xena/site .
+docker run --rm -itp 5000:5000 -e PORT=5000 xena/site