mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 08:26:29 -05:00
17 lines
258 B
Bash
17 lines
258 B
Bash
|
#!/bin/bash
|
||
|
#
|
||
|
# Script to run the script in dev mode, which will spawn a shell
|
||
|
#
|
||
|
|
||
|
# Errors are fatal
|
||
|
set -e
|
||
|
|
||
|
# Change to the parent directory
|
||
|
pushd $(dirname $0)/.. > /dev/null
|
||
|
|
||
|
PORT=${PORT:=8000}
|
||
|
|
||
|
docker run --rm -it -p ${PORT}:80 -v $(pwd):/mnt diceware
|
||
|
|
||
|
|