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 = {
"80/tcp" = {};
};
Cmd = [
"${pkgs.lighttpd}/bin/lighttpd"
"-Df"
packages.lighttpdConfig
];
Cmd = [ (pkgs.writeShellScript "angestoepselt-site" ''
${pkgs.coreutils}/bin/mkdir -p /var/tmp
${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig}
'') ];
};
};