Merge pull request #20 from lancatlin/fix-mount-at-production

fix: remove mounting at production error
This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-08-26 11:12:58 +08:00
commit 0cc2618b8b
1 file changed
+4 -4
+4 -4
View File
@@ -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`,
],
]
: [],
},
}