fix: Add Entrypoint to container

This commit is contained in:
Jan-Bulthuis 2026-04-02 19:06:20 +02:00
parent b157703162
commit c2e208a20b
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@ -1367,7 +1367,7 @@ dependencies = [
[[package]]
name = "karnaugh"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"axum",
"clap",

View File

@ -1,6 +1,6 @@
[package]
name = "karnaugh"
version = "0.1.1"
version = "0.1.2"
edition = "2024"
[dependencies]

View File

@ -21,9 +21,9 @@
rec {
packages.karnaugh = pkgs.rustPlatform.buildRustPackage (final: {
pname = "karnaugh";
version = "0.1.1";
version = "0.1.2";
src = self;
cargoHash = "sha256-LqPV818AKVQR5ihE3xkEduLhsxvN5m21M8H/AVWBXTU=";
cargoHash = "sha256-YRSK2Vk6I1y/PhH1ZyFAYF0E6IB55So3MTs8B5df4LM=";
});
packages.container = pkgs.dockerTools.buildImage {
name = "karnaugh";
@ -36,7 +36,7 @@
};
config = {
Cmd = ["/bin/karnaugh"];
Entrypoint = ["/bin/karnaugh"];
};
};
packages.default = packages.karnaugh;