mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
update docker readme
This commit is contained in:
4
openbb_platform/platform/core/README.md
vendored
4
openbb_platform/platform/core/README.md
vendored
@@ -454,13 +454,13 @@ We provide a `.dockerfile`` in OpenBB [repo](https://github.com/OpenBB-finance/O
|
||||
To build the image, you can run the following command from the repo root:
|
||||
|
||||
```bash
|
||||
docker build -f build/docker/api.dockerfile -t openbb-sdk:latest .
|
||||
docker build -f build/docker/api.dockerfile -t openbb-platform:latest .
|
||||
```
|
||||
|
||||
To run this newly-built image:
|
||||
|
||||
```bash
|
||||
docker run --rm -p 8000:8000 -v ~/.openbb_platform:/root/.openbb_platform openbb-sdk:latest
|
||||
docker run --rm -p 8000:8000 -v ~/.openbb_platform:/root/.openbb_platform openbb-platform:latest
|
||||
```
|
||||
|
||||
This will mount the local `~/.openbb_platform` directory into the Docker container so you can use the API keys from there and it will expose the API on port `8000`.
|
||||
|
||||
Reference in New Issue
Block a user