diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-15 14:32:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-15 14:32:34 +0300 |
commit | fe90ade27a0a9239a5de09efc4e6bb0109875a7c (patch) | |
tree | 323e48179e236c5cee699baa07d72ab2490a71f9 | |
parent | index.html: less __screaming__ font size, lmao (diff) | |
download | void-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-- | Dockerfile | 2 | ||||
-rw-r--r-- | docker-compose.yml | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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"] diff --git a/docker-compose.yml b/docker-compose.yml index 4c03864..2cd37fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,6 @@ services: void: build: context: . - init: true logging: driver: journald ports: |