mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
Merge pull request #20 from lancatlin/fix-mount-at-production
fix: remove mounting at production error
This commit is contained in:
1 file changed
+4
-4
@@ -13,12 +13,12 @@ const containerOptions = {
|
|||||||
StdinOnce: false,
|
StdinOnce: false,
|
||||||
HostConfig: {
|
HostConfig: {
|
||||||
Binds:
|
Binds:
|
||||||
config.isProduction && config.hostPwd
|
!config.isProduction && config.hostPwd
|
||||||
? []
|
? [
|
||||||
: [
|
|
||||||
`${config.hostPwd}/quests/helloworld/home:/home/rudeus`,
|
`${config.hostPwd}/quests/helloworld/home:/home/rudeus`,
|
||||||
`${config.hostPwd}/packages/container:/usr/local/lib/container`,
|
`${config.hostPwd}/packages/container:/usr/local/lib/container`,
|
||||||
],
|
]
|
||||||
|
: [],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user