You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,12 @@ npm run dev
40
40
npm run build
41
41
npm run start
42
42
43
-
# Option 3: Docker
43
+
# Option 3: Build and run with Docker locally
44
44
docker build -t validator-api:latest .
45
45
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
46
49
```
47
50
48
51
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