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