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]] [[package]]
name = "karnaugh" name = "karnaugh"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"axum", "axum",
"clap", "clap",

View File

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

View File

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