Ensure the temporary upload directory exists

Closes #25
This commit is contained in:
Yannik Rödel 2022-05-11 17:34:58 +02:00
parent b210f40425
commit 2f3e882514

View file

@ -64,11 +64,10 @@
ExposedPorts = { ExposedPorts = {
"80/tcp" = {}; "80/tcp" = {};
}; };
Cmd = [ Cmd = [ (pkgs.writeShellScript "angestoepselt-site" ''
"${pkgs.lighttpd}/bin/lighttpd" ${pkgs.coreutils}/bin/mkdir -p /var/tmp
"-Df" ${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig}
packages.lighttpdConfig '') ];
];
}; };
}; };