fix: include source code in OCI image
Build Admin / build (push) Failing after 43s Details

This commit is contained in:
Seth Call 2026-03-09 23:54:11 -05:00
parent 64d788745c
commit 952286a467
1 changed files with 12 additions and 1 deletions

View File

@ -85,7 +85,17 @@
];
};
# 4. A startup script to ensure we are in the right place
# 4. Source code derivation
src = pkgs.stdenv.mkDerivation {
name = "jam-admin-src";
src = ./.;
installPhase = ''
mkdir -p $out/jam-cloud/admin
cp -r . $out/jam-cloud/admin
'';
};
# 5. A startup script to ensure we are in the right place
start-jam-admin = pkgs.writeShellScriptBin "start-jam-admin" ''
export PATH=${allDeps}/bin:$PATH
export LD_LIBRARY_PATH=${allDeps}/lib:$LD_LIBRARY_PATH
@ -113,6 +123,7 @@
tag = "local";
copyToRoot = [
allDeps
src
start-jam-admin
pkgs.libyaml.dev
pkgs.openssl.dev