diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 000000000..7a32cee01 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,9 @@ +version : '3' +services: + hugo: + image: klakegg/hugo:0.107.0-ext-alpine + command: server -s /fedramp-automation/docs --enableGitInfo=false --minify + volumes: + - ".:/fedramp-automation" + ports: + - "1313:1313" \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 9605cfce6..818651f06 100644 --- a/docs/README.md +++ b/docs/README.md @@ -8,7 +8,7 @@ The website is built using the [Hugo](https://gohugo.io/) static site generator If using Docker: -- [Docker 20.10+](https://docs.docker.com/install/) +- [Docker 23.0+](https://docs.docker.com/get-docker/) If not using Docker: @@ -70,17 +70,14 @@ Whenever you make any changes to the content with the Hugo server running, you'l ## Developing with Docker -Coming soon: The site will be available as a Docker container. - - +Once the site is running, it can be accessed at [http://localhost:1313/](http://localhost:1313/). +