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

added dockerfile #158

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added dockerfile #158

wants to merge 2 commits into from

Conversation

JAG-010
Copy link

@JAG-010 JAG-010 commented Apr 19, 2022

I have dockerized this app and updated the README file.

1. Clone the repo

`git clone [email protected]:ondras/my-mind.git`

Copy link
Contributor

Choose a reason for hiding this comment

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

Possibly better to use the HTTPS URI:

git clone https://github.com/ondras/my-mind.git

3. Run container

`docker run -d --name=my-mind -p 80:80 my-mind`

Copy link
Contributor

Choose a reason for hiding this comment

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

port 80 is often taken you might want to use port 8080:80 and then write down that this could be changed

FROM nginx:alpine

COPY . /usr/share/nginx/html

Copy link
Contributor

Choose a reason for hiding this comment

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

nice, code, I tested locally and it was working

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.

2 participants