Skip to content

Commit

Permalink
we don't need a docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 1, 2020
1 parent 97b288c commit c91ed24
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions default.nix
Expand Up @@ -26,16 +26,4 @@ in rec {
elm make --optimize --output $out/share/datalog/index.html src/Main.elm
'';
};

container = let
linuxPkgs = import sources.nixpkgs { system = "x86_64-linux"; };
listenPort = "80";
in linuxPkgs.dockerTools.buildLayeredImage {
name = "datalog";
contents = linuxPkgs.darkhttpd;
config = {
Cmd = [ "darkhttpd" "${datalog}/share/datalog" ];
ExposedPorts = { "${listenPort}/tcp" = { }; };
};
};
}

0 comments on commit c91ed24

Please sign in to comment.