notes/redeploy.sh

7 lines
218 B
Bash
Executable file

#!/bin/bash
# Build/rebuild the image.
docker build --no-cache -t notes-server .
# Run the image, listening on port 8080.
docker run --mount type=bind,src=./site,dst=/usr/share/nginx/html -p 42069:80 -t notes-server