aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 13:59:58 +0000
committerFuwn <[email protected]>2021-05-06 13:59:58 +0000
commit1295ea4aeeee4e73885075f89e01f42e1ceaced4 (patch)
treeafd85deb8f6d7c9cdc4a4b32e0019b5e81193645
parentdocs(docker): expose ports (doc) at the image level (diff)
downloadwhirl-1295ea4aeeee4e73885075f89e01f42e1ceaced4.tar.xz
whirl-1295ea4aeeee4e73885075f89e01f42e1ceaced4.zip
refactor(docker): use entry-point syntax for starting process
-rw-r--r--docker.nix3
1 files changed, 2 insertions, 1 deletions
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" ];
};
};