fix: devcontainer part 1 (#3254)

`-r` fix and checkout within volume for performance

Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
Dave
2024-08-16 03:49:55 -04:00
committed by GitHub
parent 409e2d348e
commit be55fce9be
2 changed files with 5 additions and 3 deletions

View File

@@ -19,5 +19,6 @@
}
},
"forwardPorts": [8080, 3000],
"postStartCommand": "make prepare && cp /build/backend-assets /workdir/backend-assets"
"postCreateCommand": "git clone https://github.com/mudler/LocalAI.git .",
"postStartCommand": "make prepare && cp -r /build/backend-assets /workdir/backend-assets"
}