fix: remove hard coded project path

+ pass host_pwd using docker compose
+ mount it only when provided
This commit is contained in:
wancat committed 2023-08-22 16:05:06 +08:00
1 parent cf5b761f3f
commit 4b3a80608c
4 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { Server } from 'socket.io'
import { getOrCreateContainer, attachContainer } from '../utils/docker.js'
import { getOrCreateContainer, attachContainer } from '../containers/docker.js'
import Session from '../models/session.js'
import { defaultUser, genSessionJWT } from '../utils/auth.js'