17 lines
368 B
Bash
17 lines
368 B
Bash
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
docker build -t caddsies .
|
|
|
|
docker run --rm -it \
|
|
-p 2018:2018 \
|
|
-v $(pwd)/caddyfile:/etc/caddy/Caddyfile \
|
|
-v $(pwd)/stunfile:/etc/stunfile.conf \
|
|
-v $(pwd)/stunserver.crt:/etc/stunserver.crt \
|
|
-v $(pwd)/stunserver.key:/etc/stunserver.key \
|
|
-v $(pwd)/stunclient.crt:/etc/stunclient.crt \
|
|
caddsies:latest
|
|
|
|
#-p 2015:2015 \
|