# VM Setup Instructions - Set up docker - Attach persistent disk - Build docker image (+ checkout repo) - Run image (+ setup for run on boot) ## Build image - `/build.sh [[:]]` ## Run image - `sudo docker run \ -d \ --dns 127.0.0.1 \ --name \ -p 80:80 \ -p 443:443 \ [-v :/etc/ssl/localcerts:ro] \ -v :/var/www/aio-builds \ [:] ` ## Questions - Do we care to keep logs (e.g. cron, nginx, aio-upload-server, aio-clean-up, pm2) outside of the container? - Instead of creating new comments for each commit, update the original comment? - Do we want to drop HTTP support (and/or redirect to HTTPS)?