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;
|
cgibin = pkgs.copyPathToStore ./cgi-bin;
|
||||||
};
|
};
|
||||||
|
|
||||||
container = pkgs.dockerTools.buildImage {
|
container = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "angestoepselt-site-container";
|
name = "angestoepselt-site";
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
Env = [
|
||||||
|
"SITE_DIRECTORY=\"${packages.site}\""
|
||||||
|
];
|
||||||
Cmd = [
|
Cmd = [
|
||||||
"${pkgs.lighttpd}/bin/lighttpd"
|
"${pkgs.lighttpd}/bin/lighttpd"
|
||||||
"-Df"
|
"-Df"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue