Files
StunCaddsies/build.sh
Bel LaPointe 7c9d42439e life is good
2018-10-06 14:54:42 -06:00

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 \