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

chore: added Dockerfile #1390

Merged
merged 2 commits into from
Dec 19, 2022
Merged

chore: added Dockerfile #1390

merged 2 commits into from
Dec 19, 2022

Conversation

DaniSomoza
Copy link
Contributor

@DaniSomoza DaniSomoza commented Dec 16, 2022

What it solves

Added Dockerfile to Resolve safe-global/safe-infrastructure#58

How this PR fixes it

based in this template recommended in the nextjs docs

Added a Dockerfile file

How to test it

To test the image run:

  • Create the docker image: docker build -t web-core .
  • Run the docker image: docker run -p 3000:3000 web-core
  • Open your browser on http://127.0.0.1:3000

@github-actions
Copy link

github-actions bot commented Dec 16, 2022

Branch preview

✅ Deploy successful!

https://feat_added_dockerfile--webcore.review-web-core.5afe.dev

@github-actions
Copy link

github-actions bot commented Dec 16, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

katspaugh
katspaugh previously approved these changes Dec 17, 2022
Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Dockerfile Outdated

ENV NODE_ENV production
# Uncomment the following line in case you want to disable telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need it a second time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep it seems that its needed, I used this repo as a template because its recommended in the nextjs docs

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean it's already set on line 13 and we don't call any Next scripts after this.

Dockerfile Show resolved Hide resolved
@katspaugh katspaugh dismissed their stale review December 19, 2022 08:56

See comments

@DaniSomoza DaniSomoza requested a review from katspaugh December 19, 2022 09:40
Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@katspaugh katspaugh merged commit aa6531c into dev Dec 19, 2022
@katspaugh katspaugh deleted the feat/added-dockerfile branch December 19, 2022 13:00
@gitpoap-bot
Copy link

gitpoap-bot bot commented Dec 19, 2022

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2022 Safe Web Core Contributor:

GitPOAP: 2022 Safe Web Core Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2022
@DaniSomoza DaniSomoza restored the feat/added-dockerfile branch December 20, 2022 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update UI repository
2 participants