mnt is good
This commit is contained in:
15
build.sh
15
build.sh
@@ -6,11 +6,16 @@ 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 \
|
||||
-v $(pwd)/caddyfile:/mnt/Caddyfile \
|
||||
-v $(pwd)/stunfile:/mnt/stunfile.conf \
|
||||
-v $(pwd)/stunserver.crt:/mnt/stunserver.crt \
|
||||
-v $(pwd)/stunserver.key:/mnt/stunserver.key \
|
||||
-v $(pwd)/stunclient.crt:/mnt/stunclient.crt \
|
||||
-e CADDYFILE=/mnt/Caddyfile \
|
||||
-e STUNFILE=/mnt/stunfile.conf \
|
||||
-e STUNSERVERCRT=/mnt/stunserver.crt \
|
||||
-e STUNSERVERKEY=/mnt/stunserver.key \
|
||||
-e STUNCLIENTCRT=/mnt/stunclient.crt \
|
||||
caddsies:latest
|
||||
|
||||
#-p 2015:2015 \
|
||||
|
||||
Reference in New Issue
Block a user