From 7b5af1e97935f5cb0fd1dd7b244b98d94a745bbe Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 20 Mar 2021 13:49:49 -0500 Subject: [PATCH] Update README, ensure /files exists in the docroot --- Dockerfile | 1 + README.md | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5cf38e0..32c934d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM php:7-apache COPY ./ /var/www/html/ +RUN mkdir /var/www/html/files EXPOSE 80 diff --git a/README.md b/README.md index b4a1dc2..7760566 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,15 @@ A website for me and my friends. This repo is a ready-to-go webroot. `git clone` and configure Apache. `git pull` for updates. -You may also use the Docker image at `rehashedsalt/9iron:latest` +## Docker + +You can pull the image from `rehashedsalt/9iron`. The `:latest` tag will always have the latest git tag applied and the `:bleeding` tag will always be the latest *commit*. + +The following directories contain stateful content that you will be interested in keeping in a PV: + +* `/var/www/html/files` + +The image listens on `:80` and does not terminate SSL; proxy connections if you're interested in that. ## Random Subtitles