-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
base: master
Are you sure you want to change the base?
added dockerfile #158
Conversation
1. Clone the repo | ||
|
||
`git clone [email protected]:ondras/my-mind.git` | ||
|
There was a problem hiding this comment.
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` | ||
|
There was a problem hiding this comment.
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 | ||
|
There was a problem hiding this comment.
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
I have dockerized this app and updated the README file.