File size: 563 Bytes
a8460d1 57ea5f6 a8460d1 57ea5f6 a8460d1 57ea5f6 a8460d1 57ea5f6 a8460d1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Use an official Node.js image
FROM node:18
# Install FFmpeg
RUN apt-get update && \
apt-get install -y ffmpeg git && \
rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /app
# Remove existing files and clone the repo
RUN rm -rf /app/* && \
git clone https://GitHub.com/reaperofssa/reikertv /app
# Install required packages
RUN npm install express axios cors fluent-ffmpeg body-parser node-telegram-bot-api
# Set permissions
RUN chmod -R 777 /app
# Expose port 7860
EXPOSE 7860
# Start the server
CMD ["node", "backend/server.js"] |