Merge pull request #542 from dpwspoon/typo.kaazing.fix
Fixed references in absolute path vs relative path in kaazing-gateway…
This commit is contained in:
commit
56bf773250
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue