mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix: mounting quest home into production container
This commit is contained in:
1 parent
1888781a47
commit
44ecd3b87a
3 files changed
+6
-7
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user