fix
This commit is contained in:
@@ -71,8 +71,8 @@ let
|
||||
tag = etherpad_exe.version;
|
||||
contents = with pkgs;[cacert tzdata bash coreutils curl settings ];
|
||||
fakeRootCommands = ''
|
||||
mkdir -p /opt /tmp
|
||||
chmod 1777 /opt /tmp
|
||||
mkdir -p ./opt ./tmp
|
||||
chmod 1777 ./opt ./tmp
|
||||
'';
|
||||
config = {
|
||||
Cmd = [ "${etherpad_exe}/bin/etherpad-lite" "--settings=/etc/etherpad/settings.json" "--apikey=\"$APIKEY\""];
|
||||
@@ -80,7 +80,7 @@ let
|
||||
ExposedPorts = { "${toString containerCfg.port}/tcp" = {}; };
|
||||
Env = [
|
||||
"NODE_ENV=production"
|
||||
"HOME=/opt"
|
||||
"HOME=./opt"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user