File size: 339 Bytes
0ebcccf
 
 
 
 
 
 
 
 
 
 
 
 
 
5b2d101
0ebcccf
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM node:20

RUN apt-get update && \
    apt-get install -y git ffmpeg && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

COPY start.sh /start.sh
RUN chmod +x /start.sh

RUN mkdir -p /app && chmod -R 777 /app

WORKDIR /app

RUN npm install node-telegram-bot-api express cors fluent-ffmpeg mongodb

EXPOSE 7860

CMD ["/start.sh"]