mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
docs: Fixed docker README, added missing redocly repo name (#841)
This commit is contained in:
parent
70faca17b6
commit
2013973d75
|
@ -5,13 +5,13 @@
|
||||||
Serve remote spec by URL:
|
Serve remote spec by URL:
|
||||||
|
|
||||||
docker run -it --rm -p 80:80 \
|
docker run -it --rm -p 80:80 \
|
||||||
-e SPEC_URL='http://localhost:8000/swagger.yaml' redoc
|
-e SPEC_URL='http://localhost:8000/swagger.yaml' redocly/redoc
|
||||||
|
|
||||||
Serve local file:
|
Serve local file:
|
||||||
|
|
||||||
docker run -it --rm -p 80:80 \
|
docker run -it --rm -p 80:80 \
|
||||||
-v $(PWD)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
|
-v $(pwd)/demo/swagger.yaml:/usr/share/nginx/html/swagger.yaml \
|
||||||
-e SPEC_URL=swagger.yaml redoc
|
-e SPEC_URL=swagger.yaml redocly/redoc
|
||||||
|
|
||||||
## Runtime configuration options
|
## Runtime configuration options
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@ Serve local file:
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
docker build -t redoc .
|
docker build -t redocly/redoc .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user