Skip to content
Snippets Groups Projects
Commit 265c0bd2 authored by Andrew Morgan's avatar Andrew Morgan Committed by Amber Brown
Browse files

Add working build command for docker image (#6390)

* Add working build command for docker image

* Add changelog
parent 24cc31ee
No related branches found
No related tags found
No related merge requests found
Add build instructions to the docker readme.
\ No newline at end of file
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment