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
4 changes: 0 additions & 4 deletions Dockerfile

This file was deleted.

12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,12 @@ than [Docker Desktop](https://www.docker.com/products/docker-desktop) on
Windows and Mac, and [Docker Compose](https://docs.docker.com/compose/install/)
on Linux.

1. Build the docker image

```bash
docker-compose build
```

1. Run the built image
1. Spin up the service

```bash
docker-compose up
```

> NOTE: You can run both commands at once with `docker-compose up --build`.

1. Verify that the service is working.

Open your web browser and type `http://localhost:1313` in your navigation bar,
Expand All @@ -94,7 +86,7 @@ on Linux.

To stop Docker Compose, on your terminal window, press **Ctrl + C**.

To remove the produced images run:
To remove the produced container run:

```bash
docker-compose rm
Expand Down
13 changes: 6 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ version: "3.8"
services:

site:
image: docsy/docsy-example
build:
context: .
command: server
ports:
- "1313:1313"
image: hugomods/hugo:std-exts
command: server -D
volumes:
- .:/src
- ./:/src
- ~/hugo_cache:/tmp/hugo_cache
ports:
- 1313:1313