aboutsummaryrefslogtreecommitdiff
path: root/docker.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 11:39:59 -0700
committerFuwn <[email protected]>2021-05-06 11:39:59 -0700
commit5e48237a20ff4b6df1836ab50f3ee68250d9bce9 (patch)
tree27c20000ab1b61b16a059e3f30b33cc0aaf4be9e /docker.nix
parentrefactor(server): clippy: module inception (diff)
downloadwhirl-5e48237a20ff4b6df1836ab50f3ee68250d9bce9.tar.xz
whirl-5e48237a20ff4b6df1836ab50f3ee68250d9bce9.zip
fix(docker): the dockering
Fix Docker functionalities.
Diffstat (limited to 'docker.nix')
-rw-r--r--docker.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/docker.nix b/docker.nix
index 2bee934..9cd9d6e 100644
--- a/docker.nix
+++ b/docker.nix
@@ -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" ];
};
};