mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
test: fix docker cp command
This commit is contained in:
@@ -614,7 +614,8 @@ export const utils = {
|
|||||||
const writeStream = createWriteStream(fn);
|
const writeStream = createWriteStream(fn);
|
||||||
await pipeline(sql, gzip, writeStream);
|
await pipeline(sql, gzip, writeStream);
|
||||||
|
|
||||||
await dockerExec(['cp', fn, `/data/backups/development-${generate}.sql.gz`]).promise;
|
await executeCommand('docker', ['cp', fn, `immich-e2e-server:/data/backups/development-${generate}.sql.gz`])
|
||||||
|
.promise;
|
||||||
},
|
},
|
||||||
|
|
||||||
resetAdminConfig: async (accessToken: string) => {
|
resetAdminConfig: async (accessToken: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user