Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.0-alpine3.10
FROM python:3.8.5-alpine3.12

MAINTAINER Loïc Pauletto <[email protected]>
MAINTAINER Quentin de Longraye <[email protected]>
Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:**
Expand All @@ -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`.
Expand Down