MyVideoBot / Dockerfile
aung990's picture
Create Dockerfile
734d0f2 verified
Raw History Blame Contribute Delete
342 Bytes
FROM python:3.10-slim
# Install FFmpeg and Fontconfig
RUN apt-get update && apt-get install -y ffmpeg fontconfig && rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy all files to the server
COPY . .
# Install Python packages
RUN pip install --no-cache-dir -r requirements.txt
# Run the bot
CMD ["python", "main.py"]