Remove tag from docker build commands

This commit is contained in:
Weasy 2020-08-22 09:52:05 +02:00 committed by GitHub
parent c4fae201e9
commit c032067a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ To supply your own custom `config.json`, map a volume to `/app/config.json`. For
if your custom config was located at `/etc/element-web/config.json` then your Docker command if your custom config was located at `/etc/element-web/config.json` then your Docker command
would be: would be:
```bash ```bash
docker run -p 80:80 -v /etc/element-web/config.json:/app/config.json vectorim/element-web docker run -p 80:80 -v /etc/element-web/config.json:/app/config.json vectorim/riot-web
``` ```
To build the image yourself: To build the image yourself:
@ -144,13 +144,13 @@ To build the image yourself:
git clone https://github.com/vector-im/element-web.git element-web git clone https://github.com/vector-im/element-web.git element-web
cd element-web cd element-web
git checkout master git checkout master
docker build -t vectorim/element-web . docker build .
``` ```
If you're building a custom branch, or want to use the develop branch, check out the appropriate If you're building a custom branch, or want to use the develop branch, check out the appropriate
element-web branch and then run: element-web branch and then run:
```bash ```bash
docker build -t vectorim/element-web:develop \ docker build -t \
--build-arg USE_CUSTOM_SDKS=true \ --build-arg USE_CUSTOM_SDKS=true \
--build-arg REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git" \ --build-arg REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git" \
--build-arg REACT_SDK_BRANCH="develop" \ --build-arg REACT_SDK_BRANCH="develop" \