Skullbot/Dockerfile
2025-09-19 23:00:39 +02:00

29 lines
No EOL
562 B
Docker

# --- Base Image ---
FROM python:3.11-slim
# --- System dependencies ---
RUN apt-get update && apt-get install -y \
ffmpeg \
python3-dev \
libffi-dev \
libnacl-dev \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# --- Set work directory ---
WORKDIR /app
# --- Copy requirements ---
COPY requirements.txt .
# --- Install python dependencies ---
RUN pip install --no-cache-dir -r requirements.txt
# --- Copy bot code ---
COPY . .
# --- Set environment variables ---
ENV PYTHONUNBUFFERED=1
# --- Start bot ---
CMD ["python", "bot.py"]