From 1295ea4aeeee4e73885075f89e01f42e1ceaced4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 May 2021 13:59:58 +0000 Subject: refactor(docker): use entry-point syntax for starting process --- docker.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docker.nix') diff --git a/docker.nix b/docker.nix index 4c62d48..d8ac9bc 100644 --- a/docker.nix +++ b/docker.nix @@ -29,7 +29,7 @@ let contents = [ pkg ]; config = { - Cmd = [ "/bin/whirl" "run" ]; + Cmd = [ "run" ]; WorkingDir = "/"; Env = [ "DATABASE_URl=whirl.sqlite3" "DISABLE_PROMPT=true" ]; ExposedPorts = { @@ -37,6 +37,7 @@ let "6659/tcp" = { }; # Distributor "5673/tcp" = { }; # Hub }; + EntryPoint = [ "/bin/whirl" ]; }; }; -- cgit v1.2.3