mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
14 lines
278 B
Nix
14 lines
278 B
Nix
{ dockerTools, buildEnv, nodejs, bun, pnpm }:
|
|
|
|
dockerTools.buildImage {
|
|
name = "js-backend";
|
|
|
|
copyToRoot = buildEnv {
|
|
name = "js-backend-root";
|
|
paths = [ nodejs bun pnpm ];
|
|
pathsToLink = [ "/bin" "/share" "/etc" "/lib" ];
|
|
};
|
|
|
|
config.Cmd = [ "/bin/bash" ];
|
|
}
|