Fix git not found on docker image and fix path for spamwatch plugin

This commit is contained in:
Lucas Gabriel 2025-04-15 19:38:17 -03:00
parent 31cfc01f2f
commit ad5b3c3f48
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM node:20-slim FROM node:20-slim
# Install ffmpeg and other deps # 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 WORKDIR /usr/src/app

View File

@ -1,7 +1,7 @@
const { Telegraf } = require('telegraf'); const { Telegraf } = require('telegraf');
const path = require('path'); const path = require('path');
const fs = require('fs'); 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('@dotenvx/dotenvx').config({ path: "config.env" });
require('./plugins/ytdlp-wrapper.js'); require('./plugins/ytdlp-wrapper.js');
// require('./plugins/termlogger.js'); // require('./plugins/termlogger.js');