mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-04-28 09:15:57 +00:00
Fix git not found on docker image and fix path for spamwatch plugin
This commit is contained in:
parent
31cfc01f2f
commit
ad5b3c3f48
@ -1,7 +1,7 @@
|
||||
FROM node:20-slim
|
||||
|
||||
# Install ffmpeg and other deps
|
||||
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y ffmpeg git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
const { Telegraf } = require('telegraf');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const { isOnSpamWatch } = require('./plugins/lib-spamwatch/spamwatch.js');
|
||||
const { isOnSpamWatch } = require('./spamwatch/spamwatch.js');
|
||||
require('@dotenvx/dotenvx').config({ path: "config.env" });
|
||||
require('./plugins/ytdlp-wrapper.js');
|
||||
// require('./plugins/termlogger.js');
|
||||
|
Loading…
x
Reference in New Issue
Block a user