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

feat(docker): add dockerfile and workflow #348

Merged
merged 5 commits into from
Nov 8, 2024
Merged

feat(docker): add dockerfile and workflow #348

merged 5 commits into from
Nov 8, 2024

Conversation

wo-o
Copy link
Contributor

@wo-o wo-o commented Nov 6, 2024

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

Copy link
Contributor

@AndyBoWu AndyBoWu left a 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
Copy link
Contributor

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

Copy link
Contributor

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.

Copy link
Contributor Author

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!

@wo-o wo-o merged commit 7ab955a into main Nov 8, 2024
6 checks passed
@wo-o wo-o deleted the feat/dockerizing branch November 8, 2024 01:54
Copy link

github-actions bot commented Nov 8, 2024

Binary uploaded successfully 🎉

📦 Version Name: 0.12.2-unstable-7ab955a
📦 Download Source: AWS S3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants