From 63630b4806f1bb0f56f811ac2fdaa745cc98126a Mon Sep 17 00:00:00 2001 From: jagan Date: Mon, 18 Apr 2022 22:53:41 -0400 Subject: [PATCH 1/2] added dockerfile --- README.md | 15 +++++++++++++++ dockerfile | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 dockerfile diff --git a/README.md b/README.md index bec3d27..a4851d3 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,21 @@ Note: there is also an online version, which can be found at [my-mind.github.io] * ~~Open index.html in your webbrowser~~ currently not working * Done! If need be, you can find the manual [here](https://github.com/ondras/my-mind/wiki) +## Docker +To dockerize My Mind + +1. Clone the repo + + `git clone git@github.com:ondras/my-mind.git` + +2. Build the image + + `docker build -t my-mind .` + +3. Run container + + `docker run -d --name=my-mind -p 80:80 my-mind` + ## Contributing Do you want to participate? diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..fe00b21 --- /dev/null +++ b/dockerfile @@ -0,0 +1,4 @@ +FROM nginx:alpine + +COPY . /usr/share/nginx/html + From d6344aab86408f1a020469bd41debd1848055eb1 Mon Sep 17 00:00:00 2001 From: jagan Date: Mon, 18 Apr 2022 22:57:23 -0400 Subject: [PATCH 2/2] added dockerfile --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a4851d3..afa4994 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ To dockerize My Mind `docker run -d --name=my-mind -p 80:80 my-mind` +4. Access My Mind + + `http://localhost` + ## Contributing Do you want to participate?