make cache folders always writable
This commit is contained in:
@@ -317,7 +317,9 @@ async function createSubcontainer(app, name, cmd, options) {
|
||||
const addonEnv = await services.getEnvironment(app);
|
||||
const runtimeVolumes = {
|
||||
'/tmp': {},
|
||||
'/run': {}
|
||||
'/run': {},
|
||||
'/home/cloudron/.cache': {},
|
||||
'/root/.cache': {}
|
||||
};
|
||||
if (app.manifest.runtimeDirs) {
|
||||
app.manifest.runtimeDirs.forEach(dir => runtimeVolumes[dir] = {});
|
||||
|
||||
Reference in New Issue
Block a user