mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Update container build
This gives the container a more sensible name and also makes sure the correct environment variables are set for the CGI script.
This commit is contained in:
parent
e324d4fd27
commit
815f8d159d
1 changed files with 5 additions and 2 deletions
|
|
@ -47,11 +47,14 @@
|
|||
cgibin = pkgs.copyPathToStore ./cgi-bin;
|
||||
};
|
||||
|
||||
container = pkgs.dockerTools.buildImage {
|
||||
name = "angestoepselt-site-container";
|
||||
container = pkgs.dockerTools.buildLayeredImage {
|
||||
name = "angestoepselt-site";
|
||||
tag = "latest";
|
||||
|
||||
config = {
|
||||
Env = [
|
||||
"SITE_DIRECTORY=\"${packages.site}\""
|
||||
];
|
||||
Cmd = [
|
||||
"${pkgs.lighttpd}/bin/lighttpd"
|
||||
"-Df"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue