Skip to content

added dockerfile#158

Open
JAG-010 wants to merge 2 commits intoondras:masterfrom
JAG-010:feature/docker
Open

added dockerfile#158
JAG-010 wants to merge 2 commits intoondras:masterfrom
JAG-010:feature/docker

Conversation

@JAG-010
Copy link
Copy Markdown

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

I have dockerized this app and updated the README file.

1. Clone the repo

`git clone git@github.com:ondras/my-mind.git`

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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