Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add working build command for docker image (#6390)
Browse files Browse the repository at this point in the history
* commit '265c0bd2f':
  Add working build command for docker image (#6390)
  • Loading branch information
anoadragon453 committed Mar 18, 2020
2 parents 0d89ceb + 265c0bd commit 42b2a00
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/6390.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add build instructions to the docker readme.
12 changes: 12 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,15 @@ docker run -it --rm \
This will generate the same configuration file as the legacy mode used, but
will store it in `/data/homeserver.yaml` instead of a temporary location. You
can then use it as shown above at [Running synapse](#running-synapse).

## Building the image

If you need to build the image from a Synapse checkout, use the following `docker
build` command from the repo's root:

```
docker build -t matrixdotorg/synapse -f docker/Dockerfile .
```

You can choose to build a different docker image by changing the value of the `-f` flag to
point to another Dockerfile.

0 comments on commit 42b2a00

Please sign in to comment.