BlueMoonBot/bluemoonbot_Lichess
0
1# Step 1: Use an official lightweight Python image2FROM python:3.11-slim3 4# Step 2: Install required system utilities5RUN apt-get update && apt-get install -y \6 git \7 && rm -rf /var/lib/apt/lists/*8 9# Step 3: Set up the working directory inside the container10WORKDIR /app11 12# Step 4: Copy all your repository files into the container13COPY . /app14 15# Step 5: Fix executable permissions ONLY for the stockfish binary16RUN chmod +x /app/fairy/stockfish17 18# Step 6: Install the Python requirements19RUN pip install --no-cache-dir -r requirements.txt20 21# Step 7: Inform Hugging Face that we are opening port 786022EXPOSE 786023 24# Step 8: Launch your environment25CMD python -m http.server 7860 & python lichess-bot-master/lichess-bot.py26 