This commit is contained in:
Rizky 2024-01-26 05:38:04 +07:00
parent 25e869fc06
commit 337d908b29
2 changed files with 8 additions and 6 deletions

BIN
dockerzip

Binary file not shown.

View File

@ -36,6 +36,7 @@ if (!g.dockerPrepared) {
if (!(await existsAsync(dir.path("_tmp_docker")))) {
for (const file of Object.keys(dir.read(dir.path``))) {
if (file.startsWith("app/") || file.startsWith("pkgs/")) {
if (file.endsWith("package.json")) {
await dirAsync(dir.path("_tmp_docker", path.dirname(file)));
await copyAsync(dir.path(file), dir.path("_tmp_docker", file), {
@ -43,6 +44,7 @@ if (!g.dockerPrepared) {
});
}
}
}
await copyAsync(
dir.path("bun.lockb"),
dir.path("_tmp_docker", "bun.lockb")