From 79f3152cbe68de353d2e8ef9f9da48704fd61226 Mon Sep 17 00:00:00 2001 From: Brock Date: Sat, 5 Sep 2020 14:55:55 -0600 Subject: [PATCH] Updating the version to Python 3.8.5 on Alpine 3.12. Added to README, setting user to `docker run` command when autobuild is not enabled. Spaced out the docker run command to be a little more clear when reading. --- Dockerfile | 2 +- README.md | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0449240..9bc6e44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8.0-alpine3.10 +FROM python:3.8.5-alpine3.12 MAINTAINER Loïc Pauletto MAINTAINER Quentin de Longraye diff --git a/README.md b/README.md index ab5c214..c6f3793 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,13 @@ also need to set `autobuild` to false. Run the following command at the root of your documentation: ```sh -docker run -itd -v "$(pwd)":/web -p 8000:8000 --name sphinx-server dldl/sphinx-server +docker run \ + -itd \ + -v "$(pwd)":/web \ + -u $(id -u):$(id -g) \ + -p 8000:8000 \ + --name sphinx-server \ + dldl/sphinx-server ``` **With autobuild enabled:** @@ -75,7 +81,13 @@ Autobuild is enabled by default. You may add folders and files to the `ignore` l Run the following command at the root of your documentation: ```sh -docker run -itd -v "$(pwd)":/web -u $(id -u):$(id -g) -p 8000:8000 --name sphinx-server dldl/sphinx-server +docker run \ + -itd \ + -v "$(pwd)":/web \ + -u $(id -u):$(id -g) \ + -p 8000:8000 \ + --name sphinx-server \ + dldl/sphinx-server ``` The web server will be listening on port `8000`.