From fe90ade27a0a9239a5de09efc4e6bb0109875a7c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Mar 2022 14:32:34 +0300 Subject: 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') 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"] -- cgit v1.2.3