aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-15 14:32:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-15 14:32:34 +0300
commitfe90ade27a0a9239a5de09efc4e6bb0109875a7c (patch)
tree323e48179e236c5cee699baa07d72ab2490a71f9 /Dockerfile
parentindex.html: less __screaming__ font size, lmao (diff)
downloadvoid-fe90ade27a0a9239a5de09efc4e6bb0109875a7c.tar.gz
void-fe90ade27a0a9239a5de09efc4e6bb0109875a7c.zip
docker: best practices
Since I don't spawn any processes, I can just use the exec form in the Dockerfile, and it's all fine.
Diffstat (limited to '')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 80d45fb..4470ffc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,4 +6,4 @@ RUN mkdir -p /var/lib/void
COPY [".", "/usr/src/"]
WORKDIR /usr/src
-CMD ./server.py --void /var/lib/void/void.state
+CMD ["./server.py", "--void", "/var/lib/void/void.state"]