Add Docker instructions in README.md

This commit is contained in:
henryclw 2022-04-23 17:19:56 -07:00
parent 4f7ae05357
commit 9fb8cf3339

View file

@ -77,8 +77,13 @@ You can discuss matrix.to in
## Build Instructions ## Build Instructions
1. Install [yarn](https://classic.yarnpkg.com/en/docs/install) 1. Install [yarn](https://classic.yarnpkg.com/en/docs/install)
1. `git clone https://github.com/matrix-org/matrix.to` 2. `git clone https://github.com/matrix-org/matrix.to`
1. `cd matrix.to` 3. `cd matrix.to`
1. `yarn` 4. `yarn`
1. `yarn start` 5. `yarn start`
1. Go to http://localhost:5000 in your browser 6. Go to http://localhost:5000 in your browser
## Docker instructions
1. Build your own image, `docker build . -t matrixdotorg/matrix-to:dev`
2. Run, `docker run -it -d --name matrix-to-dev -p 5000:5000 matrixdotorg/matrix-to:dev`