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`.