#!/bin/bash # Build the notes-server image. docker build --no-cache -t notes-server . # Run the notes-server image. docker run -d \ --name notes-server \ -v "/var/www/html/notes/hugo/public:/usr/share/nginx/html" \ -p 42069:80 \ notes-server # Install and enable the systemctl service. cp notes.service /etc/systemd/system/notes.service systemctl enable notes.service