Update code to typescript

This commit is contained in:
2026-05-14 20:06:15 +02:00
parent fdb4b2d50f
commit f2ce38c176
68 changed files with 7647 additions and 5121 deletions

View File

@@ -1,5 +1,13 @@
FROM node:18-alpine
FROM node:22-alpine
WORKDIR /app
RUN apk add --no-cache ffmpeg espeak python3 make g++
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
RUN apk add ffmpeg
RUN npm install
ENTRYPOINT ["node", "index.js"]
ENTRYPOINT ["npx", "tsx", "src/index.ts"]