diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8ade5c6 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Build/rebuild the image. +docker build --no-cache -t notes-server . diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..04c767f --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run --mount type=bind,src=./site,dst=/usr/share/nginx/html -p 42069:80 -t notes-server