Fixed references in absolute path vs relative path in kaazing-gateway content.md

This commit is contained in:
David Witherspoon 2016-04-08 15:48:46 -07:00
parent 9dc87d156e
commit d27dea8e5b
1 changed files with 2 additions and 2 deletions

View File

@ -31,14 +31,14 @@ For information on the syntax of the Kaazing Gateway configuration files, see [t
If you wish to adapt the default Gateway configuration file, you can use a command such as the following to copy the file from a running Kaazing Gateway container: If you wish to adapt the default Gateway configuration file, you can use a command such as the following to copy the file from a running Kaazing Gateway container:
```console ```console
$ docker cp some-kaazing:/conf/gateway-config-minimal.xml /some/gateway-config.xml $ docker cp some-kaazing:/kaazing-gateway/conf/gateway-config-minimal.xml /some/gateway-config.xml
``` ```
As above, this can also be accomplished more cleanly using a simple `Dockerfile`: As above, this can also be accomplished more cleanly using a simple `Dockerfile`:
```dockerfile ```dockerfile
FROM kaazing-gateway FROM kaazing-gateway
COPY gateway-config.xml /conf/gateway-config.xml COPY gateway-config.xml conf/gateway-config.xml
``` ```
Then, build with `docker build -t some-custom-kaazing-gateway .` and run: Then, build with `docker build -t some-custom-kaazing-gateway .` and run: