diff options
| author | Fuwn <[email protected]> | 2021-05-06 13:59:58 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 13:59:58 -0700 |
| commit | 524717d0c1fb43690240ec8faab5977e754dc1e5 (patch) | |
| tree | a3fd100b9cb663374cbc4a75782445cf0aac5300 /docker.nix | |
| parent | docs(docker): expose ports (doc) at the image level (diff) | |
| download | whirl-524717d0c1fb43690240ec8faab5977e754dc1e5.tar.xz whirl-524717d0c1fb43690240ec8faab5977e754dc1e5.zip | |
refactor(docker): use entry-point syntax for starting process
Diffstat (limited to 'docker.nix')
| -rw-r--r-- | docker.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" ]; }; }; |