Fix env problems
This commit is contained in:
@@ -148,9 +148,7 @@ export async function deployApp(
|
|||||||
RestartPolicy: { Name: "unless-stopped" },
|
RestartPolicy: { Name: "unless-stopped" },
|
||||||
PortBindings: formatPorts(ports),
|
PortBindings: formatPorts(ports),
|
||||||
},
|
},
|
||||||
Env: Object.entries(app.env).map(
|
Env: Object.entries(app.env).map(([key, { value }]) => `${key}=${value}`),
|
||||||
([key, { value }]) => `${key}="${value.replaceAll('"', '\\"')}"`,
|
|
||||||
),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
await container.start();
|
await container.start();
|
||||||
|
|||||||
Reference in New Issue
Block a user