mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 10:14:13 +02:00
flake rework
This commit is contained in:
parent
93a015e163
commit
6010f814e9
8 changed files with 119 additions and 104 deletions
23
docker.nix
Normal file
23
docker.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
dockerTools,
|
||||
demostf-frontend,
|
||||
}:
|
||||
dockerTools.buildLayeredImage {
|
||||
name = "demostf/frontend";
|
||||
tag = "latest";
|
||||
maxLayers = 5;
|
||||
contents = [
|
||||
demostf-frontend
|
||||
dockerTools.caCertificates
|
||||
];
|
||||
config = {
|
||||
Cmd = ["demostf-frontend"];
|
||||
ExposedPorts = {
|
||||
"80/tcp" = {};
|
||||
};
|
||||
Env = [
|
||||
"LISTEN_ADDRESS=0.0.0.0"
|
||||
"LISTEN_PORT=80"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue