feat: display code block in terminal to different color

This commit is contained in:
Lin, Hung-Shin committed 2023-11-27 00:10:41 +08:00
1 parent 8fb8af036d
commit 6cd348433a
3 files changed
+27 -19

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ export function createContainer(name, questId) {
Image: getQuestImage(questId),
}
const { hostPwd, mountQuest } = config.docker
if (!config.isProduction && hostPwd && mountQuest) {
logger.debug('Mounting quest folder', mountQuest)
if (!config.isProduction && hostPwd && mountQuest === questId) {
logger.info('Mounting quest folder', mountQuest)
option.HostConfig.Binds = [
`${hostPwd}/quests/${mountQuest}/home:/home/commander`,
`${hostPwd}/packages/container:/usr/local/lib/container`,