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

Feedback! #5

Open
karthequian opened this issue Mar 13, 2019 · 2 comments
Open

Feedback! #5

karthequian opened this issue Mar 13, 2019 · 2 comments

Comments

@karthequian
Copy link
Owner

🔊 If you have feedback for me, please let me know by commenting in this issue.
⭐️ Consider starring the project to let me know that you use it.
❤️ Thank you!

@aurotripathy
Copy link

aurotripathy commented Sep 8, 2020

Newbie, here. Can you show how to build the image from the Dockerfile.

@karthequian
Copy link
Owner Author

Hi @aurotripathy! Great question- to build from the dockerfile, in general you will want to run the command from the directory where the Dockerfile is by running something like this:

docker build -t my-first-helloworld:latest .

The -t is the tag command to tag the newly built image, and can be tagged with whatever name you want to give it. Then, you should be able to run the image locally by saying docker run:

docker run -p 80:80/tcp "my-first-helloworld:latest"

Read more about all the options here: https://docs.docker.com/engine/reference/commandline/build/#options

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

No branches or pull requests

2 participants