# Use an official Python runtime as a parent image FROM python:3.11-slim # Set the working directory in the container WORKDIR /app # Copy the current directory contents into the container at /app COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Create the data directory RUN mkdir -p data # Define environment variables (These will be overwritten by Hugging Face Secrets) ENV BOT_TOKEN="" ENV GEMINI_API_KEY="" ENV ADMIN_USER_IDS="" ENV GIST_ID="" ENV GIST_TOKEN="" # Run bot.py when the container launches CMD ["python", "bot.py"]