Spaces:
Running
Running
Update Dockerfile
Browse files53 unmodified lines545556575853 unmodified lines# Force Python logs to output immediatelyENV PYTHONUNBUFFERED=1# Step 8: Start a tiny background health server AND your Lichess botCMD python -m http.server 7860 & python lichess-bot-master/lichess-bot.py53 unmodified lines54555657585953 unmodified lines# Force Python logs to output immediatelyENV PYTHONUNBUFFERED=1# This creates a folder called 'www', puts an empty index file in it,# and tells the server to only show that folder.CMD mkdir -p www && touch www/index.html && python3 -m http.server 7860 --directory www & python3 lichess-bot-master/lichess-bot.py
Dockerfile+3-2