diff --git a/docs/en/next/docker.html b/docs/en/next/docker.html index 601ee8a330..d7eaa303e5 100644 --- a/docs/en/next/docker.html +++ b/docs/en/next/docker.html @@ -93,6 +93,7 @@
Run the Docusaurus container -- To start docker run docker run --rm -p 3000:3000 docusaurus-doc
This will start a docker container with the image docusaurus-doc
. To see more detailed container info run docker ps
.
To access Docusaurus from outside the docker container you must add the --host
flag to the docusaurus-start
command as described in: API Commands
We can also use docker-compose
to configure our application. This feature of docker allows you to run the web server and any additional services with a single command.
@@ -126,7 +127,7 @@To run a local web server with
docker-compose
rundocker-compose up
.To build static HTML pages for publishing run
-docker-compose run docusaurus bash -c 'yarn publish-gh-pages'
Last updated on 12/8/2019 by Yangshun Tay