Skip to content

Commit 7d2bcd6

Browse files
committed
Add note about running the Docker hub image
1 parent f2951a9 commit 7d2bcd6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ npm run dev
4040
npm run build
4141
npm run start
4242

43-
# Option 3: Docker
43+
# Option 3: Build and run with Docker locally
4444
docker build -t validator-api:latest .
4545
docker run -it --rm --name validator-api validator-api
46+
47+
# Option 4: Pull and run the Docker hub image
48+
docker run -it --rm --name validator-api andreogle/chainapi-validator-api:latest
4649
```
4750

4851
This will start an HTTP server on the port defined by the environment variable `PORT` (default: `8000`). This can be configured locally by adding a `.env` file to the project root (see `.env.example`).

0 commit comments

Comments
 (0)