mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: new cli client to send and receive msg from api
This commit is contained in:
1 parent
e2e585329f
commit
0153eae673
5 files changed
+93
-17
No files matched your search
@@ -3,7 +3,7 @@ import config from '../config.js'
|
||||
|
||||
const engine = new Docker()
|
||||
|
||||
const questPath = '/home/zeko/src/linux-odyssey/server/quests'
|
||||
const projectPath = '/home/zeko/src/linux-odyssey'
|
||||
|
||||
const containerOptions = {
|
||||
Image: 'lancatlin/linux-odyssey:helloworld',
|
||||
@@ -17,7 +17,10 @@ const containerOptions = {
|
||||
HostConfig: {
|
||||
Binds: config.isProduction
|
||||
? []
|
||||
: [`${questPath}/helloworld/home:/home/rudeus`],
|
||||
: [
|
||||
`${projectPath}/server/quests/helloworld/home:/home/rudeus`,
|
||||
`${projectPath}/packages/cli/cli.js:/usr/local/bin/cli.js`,
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user