Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docker image for smart-contract-verifier #1247

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion smart-contract-verifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,20 @@ Here, we describe variables specific to this service. Variables common to all se
- Demo - https://http.sc-verifier.services.blockscout.com
- [Swagger](https://blockscout.github.io/swaggers/services/smart-contract-verifier/index.html)
- [Packages](https://github.com/blockscout/blockscout-rs/pkgs/container/smart-contract-verifier)
- [Releases](https://github.com/blockscout/blockscout-rs/releases?q=smart-contract-verifier&expanded=true)
- [Releases](https://github.com/blockscout/blockscout-rs/releases?q=smart-contract-verifier&expanded=true)

## Pulling the Docker Image

To pull the Docker image for the smart-contract-verifier service, use the following command:

```sh
docker pull ghcr.io/blockscout/smart-contract-verifier:main
```

## Running the Service

To run the smart-contract-verifier service using the pulled Docker image, use the following command:

```sh
docker run -p 8050:8050 -p 8051:8051 --env-file <path-to-your-env-file> ghcr.io/blockscout/smart-contract-verifier:main
```
6 changes: 1 addition & 5 deletions smart-contract-verifier/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
version: "3"
services:
smart-contract-verifier:
## you can build an image locally, or use pre-built images from registry
# image: ghcr.io/blockscout/smart-contract-verifier:main
build:
context: .
dockerfile: ./Dockerfile
image: ghcr.io/blockscout/smart-contract-verifier:main
ports:
- "8050:8050"
- "8051:8051"
Expand Down