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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containerization #113

Merged
merged 2 commits into from Jul 8, 2022
Merged

Containerization #113

merged 2 commits into from Jul 8, 2022

Conversation

parhuzamos
Copy link
Contributor

@parhuzamos parhuzamos commented Jul 8, 2022

Overview

  • Type:

    • 馃洜Build
    • 馃摎Docs
  • Ticket: No

Problem

Develop and serve locally without the need of proper NodeJS installation.

Solution

Use Docker to run the server and host the site inside a container.
Modified Gatsby's develop command in package.json, so the site is accessible not just as localhost. Specifying 0.0.0.0 as host allows the site to be accessed outside the container.
See related discussion on host access:
gatsbyjs/gatsby#5801
gatsbyjs/gatsby#11227

See related discussion:
gatsbyjs/gatsby#5801
gatsbyjs/gatsby#11227

Signed-off-by: Bence <parhuzamos@parhuzamos.com>
Signed-off-by: Bence <parhuzamos@parhuzamos.com>
@bogy0 bogy0 merged commit b549915 into IBM:master Jul 8, 2022
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.

None yet

2 participants