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

Use ENTRYPOINT to execute docker image #34

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ WORKDIR /app

COPY . /app
RUN npm install

ENTRYPOINT ["node", "./index.js", "start"]
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ JavaScript is a versatile language that can run on a wide range of platforms and

1. Install `Node.js v18+` and `npm`.
2. Run `npm install`.
3. `Docker` if you will use docker image.

## How to use CZG-Keremony client?
## How to use CZG-Keremony client by CLI?

This CZG-Keremony client provides an interactive prompt to participate in KZG ceremony.

Expand Down Expand Up @@ -101,6 +102,12 @@ If the contribution is successful, you can obtain two files.
- `contributions.json`: Contribution actually submitted to the sequencer.
- `receipt.json`: Receipt received from sequencer for your contribution.

## How to use CZG-Keremony client by Docker?

```
docker run -it rootwarp/czg-keremony:v1.0.0
```

## Contact us
Please, contact [us](mailto:[email protected]) if you have any improvements and need any further information about **CZG-Keremony**.

Expand Down