aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..d79cd92
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM alpine:3.15
+
+RUN apk add --no-cache python3 tini
+RUN mkdir -p /var/lib/void
+
+COPY [".", "/usr/src/"]
+WORKDIR /usr/src
+
+ENTRYPOINT ["/sbin/tini", "--"]
+CMD ./server.py --void /var/lib/void/void.state