fix: mounting quest home into production container

This commit is contained in:
Justin Lin committed 2024-10-21 12:11:24 +08:00
1 parent 1888781a47
commit 44ecd3b87a
3 files changed
+6 -7

No files matched your search

+2
View File
@@ -76,6 +76,7 @@ function createConfig() {
defaultImage: get('QUEST_IMAGE', 'linuxodyssey/quest-base'),
imagePrefix: get('DOCKER_PREFIX', 'linuxodyssey/quest-'),
mountQuest: process.env.MOUNT_QUEST === 'true',
hostProjectRoot: get('HOST_PROJECT_ROOT', projectRoot),
keypairPath,
keypair,
},
@@ -94,6 +95,7 @@ function createConfig() {
function getProjectRoot(): string {
const filename = fileURLToPath(import.meta.url)
const root = path.join(path.dirname(filename), '..', '..')
console.log('Project root:', root)
return root
}