mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-05-09 12:05:00 +00:00
* docs: linting, require bun for ts * rf: js -> ts * chore: bump * docs: add ts badge * chore: bump types * fix: add types for context to animal commands * [m] hf: add bot type * fix/types: add bot, ctx types, fix emoji on /dice cmd, add todo * fix/types: bot admin checking fixes, other misc fixes, add types --------- Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
18 lines
323 B
Docker
18 lines
323 B
Docker
FROM node:20-slim
|
|
|
|
# Install ffmpeg and other deps
|
|
RUN apt-get update && apt-get install -y ffmpeg git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
RUN chmod +x /usr/src/app/src/plugins/yt-dlp/yt-dlp
|
|
|
|
VOLUME /usr/src/app/.env
|
|
|
|
CMD ["npm", "start"] |