diff options
| author | Fuwn <[email protected]> | 2021-05-06 11:39:59 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 11:39:59 -0700 |
| commit | 5e48237a20ff4b6df1836ab50f3ee68250d9bce9 (patch) | |
| tree | 27c20000ab1b61b16a059e3f30b33cc0aaf4be9e /docker.nix | |
| parent | refactor(server): clippy: module inception (diff) | |
| download | whirl-5e48237a20ff4b6df1836ab50f3ee68250d9bce9.tar.xz whirl-5e48237a20ff4b6df1836ab50f3ee68250d9bce9.zip | |
fix(docker): the dockering
Fix Docker functionalities.
Diffstat (limited to 'docker.nix')
| -rw-r--r-- | docker.nix | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -11,12 +11,18 @@ let name = "Whirlsplash/whirl"; tag = "latest"; +# fromImage = pkgs.dockerTools.buildImage { +# name = "bash"; +# tag = "latest"; +# contents = pkgs.bashInteractive; +# }; + contents = [ pkg ]; config = { - Cmd = [ "/bin/whirl" ]; + Cmd = [ "/bin/whirl" "run" ]; WorkingDir = "/"; - Env = [ ]; + Env = [ "DATABASE_URl=whirl.sqlite3" "DISABLE_PROMPT=true" ]; }; }; |