aboutsummaryrefslogtreecommitdiff
path: root/docker.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 13:59:58 -0700
committerFuwn <[email protected]>2021-05-06 13:59:58 -0700
commit524717d0c1fb43690240ec8faab5977e754dc1e5 (patch)
treea3fd100b9cb663374cbc4a75782445cf0aac5300 /docker.nix
parentdocs(docker): expose ports (doc) at the image level (diff)
downloadwhirl-524717d0c1fb43690240ec8faab5977e754dc1e5.tar.xz
whirl-524717d0c1fb43690240ec8faab5977e754dc1e5.zip
refactor(docker): use entry-point syntax for starting process
Diffstat (limited to 'docker.nix')
-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" ];
};
};