wip fix
This commit is contained in:
parent
25e869fc06
commit
337d908b29
|
|
@ -36,11 +36,13 @@ if (!g.dockerPrepared) {
|
||||||
|
|
||||||
if (!(await existsAsync(dir.path("_tmp_docker")))) {
|
if (!(await existsAsync(dir.path("_tmp_docker")))) {
|
||||||
for (const file of Object.keys(dir.read(dir.path``))) {
|
for (const file of Object.keys(dir.read(dir.path``))) {
|
||||||
if (file.endsWith("package.json")) {
|
if (file.startsWith("app/") || file.startsWith("pkgs/")) {
|
||||||
await dirAsync(dir.path("_tmp_docker", path.dirname(file)));
|
if (file.endsWith("package.json")) {
|
||||||
await copyAsync(dir.path(file), dir.path("_tmp_docker", file), {
|
await dirAsync(dir.path("_tmp_docker", path.dirname(file)));
|
||||||
overwrite: true,
|
await copyAsync(dir.path(file), dir.path("_tmp_docker", file), {
|
||||||
});
|
overwrite: true,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await copyAsync(
|
await copyAsync(
|
||||||
|
|
@ -52,4 +54,4 @@ if (!g.dockerPrepared) {
|
||||||
await $`mv docker.zip dockerzip`;
|
await $`mv docker.zip dockerzip`;
|
||||||
await removeAsync(dir.path("_tmp_docker"));
|
await removeAsync(dir.path("_tmp_docker"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue