-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat(docker): add dockerfile and workflow #348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed this PR with @wo-o together.
LGTM
Dockerfile
Outdated
RUN apk add --no-cache ca-certificates | ||
COPY --from=builder /story/story /usr/local/bin/ | ||
|
||
EXPOSE 8545 8546 30303 30303/udp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these ports seem to be the port of geth
? maybe we need to expose the ports used by story
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be. On CL side, 26656 for p2p and 26657 for rpc. In addition, 1317 (by default) for API should be opened for providing API service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed expose port. Thanks!
Binary uploaded successfully 🎉📦 Version Name: 0.12.2-unstable-7ab955a |
Dear team, I have created dockerfile and worflow to make story image.
The REPOSITORY_URI environment and GITHUB_TOKEN secret needed to be set up to run the workflow.
issue: none