feat: dockerfile
parent
2cf11e2784
commit
61968ddb84
|
@ -0,0 +1,3 @@
|
|||
config.toml
|
||||
node_modules
|
||||
recordings
|
|
@ -0,0 +1,15 @@
|
|||
FROM node:18-alpine
|
||||
|
||||
RUN apk add --no-cache python3 make gcc clang g++
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN corepack enable && pnpm i
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm prisma generate
|
||||
|
||||
CMD ["pnpm", "start"]
|
|
@ -4,7 +4,7 @@
|
|||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"dev": "tsx src/index.ts",
|
||||
"start": "tsx src/index.ts",
|
||||
"merge": "tsx src/merge.ts"
|
||||
},
|
||||
"keywords": [],
|
||||
|
|
|
@ -47,7 +47,6 @@ export class RecordingSessionManager {
|
|||
},
|
||||
selfDeaf: false,
|
||||
selfMute: true,
|
||||
debug: true,
|
||||
}),
|
||||
voiceChannel,
|
||||
textChannel
|
||||
|
@ -74,7 +73,8 @@ export class RecordingSession {
|
|||
public vc: VoiceConnection,
|
||||
public voiceChannelId: Snowflake,
|
||||
public textChannelId: Snowflake
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
async init() {
|
||||
const result = await db.session.create({
|
||||
|
|
Loading…
Reference in New Issue