Skip to content

Commit 8bfe66e

Browse files
committed
Update Docker guide in README for local development setup which I missed in the last PR
1 parent da77f5b commit 8bfe66e

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,12 @@ Requirements:
3333
posts/ # blog posts, organised anyway you like
3434
... # Other markdown pages, images and other files.
3535

36-
# Docker Guide
36+
## Docker Guide
3737

38-
To build and run the Docker container locally, follow these steps:
38+
If you want to develop using Docker run the following command:
3939

40-
1. Build the Docker image:
41-
```sh
42-
docker build -t weeklydevchat .
43-
```
40+
```sh
41+
docker compose up app
42+
```
4443

45-
2. Run the Docker container:
46-
```sh
47-
docker run -p 8000:8000 weeklydevchat
48-
```
49-
50-
The MkDocs site will be served on port 8000.
44+
This will bring the application up on port 8000 (e.g. http://localhost:8000). It should hot-reload any changes you make during development.

0 commit comments

Comments
 (0)