From 65ecfd75aa7c1929368328f84de617873acbb917 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Fri, 6 Oct 2023 18:19:20 +0100 Subject: [PATCH] update docker readme --- openbb_platform/platform/core/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbb_platform/platform/core/README.md b/openbb_platform/platform/core/README.md index c59b71275ad..54a66cec891 100644 --- a/openbb_platform/platform/core/README.md +++ b/openbb_platform/platform/core/README.md @@ -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`.