about summary refs log tree commit diff
diff options
context:
space:
mode:
-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