Update README, ensure /files exists in the docroot

This commit is contained in:
Salt 2021-03-20 13:49:49 -05:00
parent 6a633ec2eb
commit 7b5af1e979
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,4 @@
FROM php:7-apache
COPY ./ /var/www/html/
RUN mkdir /var/www/html/files
EXPOSE 80

View File

@ -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