Add build and run scripts

This commit is contained in:
Brad Treloar 2025-02-05 23:43:00 +10:30
parent 95dacde1cb
commit 349775bffb
2 changed files with 7 additions and 0 deletions

4
build.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
# Build/rebuild the image.
docker build --no-cache -t notes-server .

3
run.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker run --mount type=bind,src=./site,dst=/usr/share/nginx/html -p 42069:80 -t notes-server