mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 16:16:50 +00:00
28 lines
386 B
Nix
28 lines
386 B
Nix
{
|
|
lib,
|
|
dockerTools,
|
|
nocodb,
|
|
}:
|
|
let
|
|
port = 80;
|
|
in
|
|
dockerTools.buildLayeredImage {
|
|
name = "nocodb";
|
|
contents = [ dockerTools.binSh ];
|
|
|
|
config = {
|
|
WorkingDir = "/var/lib/nocodb";
|
|
|
|
Env = [
|
|
"PORT=${builtins.toString port}"
|
|
];
|
|
ExposedPorts = {
|
|
"${builtins.toString port}/tcp" = { };
|
|
};
|
|
|
|
Entrypoint = [
|
|
(lib.getExe nocodb)
|
|
];
|
|
};
|
|
}
|