about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-04-09 13:57:10 +0200
committerEmile <hanemile@protonmail.com>2020-04-09 13:57:10 +0200
commitc72b396be93c6378c242c50dadcbf5b3da91f771 (patch)
tree5b63ef0387e3c7c22b34f4d3325d908ee0e1bb5c
parent0a0a220a839a902bbd89157f72260b11673096e3 (diff)
docker HEAD main
-rw-r--r--Dockerfile7
-rw-r--r--README.md17
-rw-r--r--v0/.map.js.swpbin16384 -> 0 bytes
3 files changed, 24 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..a830216
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,7 @@
+FROM python:3.8-alpine
+
+WORKDIR /code
+ADD . /code
+
+EXPOSE 8765
+CMD ["python3", "-m", "http.server", "--directory", "v0", "8765"]
diff --git a/README.md b/README.md
index 6877095..dabd151 100644
--- a/README.md
+++ b/README.md
@@ -4,4 +4,21 @@ Copy of this project from blinry: https://github.com/blinry/map.recurse.com
 
 (might fork later and put the code into the forked repository, this is just a test)
 
+## Docker
+
+Build the image:
+
+```
+$ docker build -t chaosdorf-map .
+…
+```
+
+Run:
+
+```
+$ docker run -p 8765:8765 chaosdorf-map
+```
+
+
+
 
diff --git a/v0/.map.js.swp b/v0/.map.js.swp
deleted file mode 100644
index b06746a..0000000
--- a/v0/.map.js.swp
+++ /dev/null
Binary files differ