BlueMoonBot commited on
Commit
476646c
·
verified ·
1 Parent(s): 3933f27

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -13,10 +13,7 @@ WORKDIR /app
13
 
14
  # Step 4: Download and extract Stockfish 18 safely
15
  # This extracts it into a dedicated folder and skips the broken renaming command completely
16
- RUN mkdir -p engines && \
17
- wget https://github.com/official-stockfish/Stockfish/releases/download/sf_18/stockfish-ubuntu-x86-64-avx2.tar && \
18
- tar -xf stockfish-ubuntu-x86-64-avx2.tar -C engines && \
19
- rm -rf stockfish-ubuntu-x86-64-avx2.tar
20
 
21
  # Step 5: Copy all your repository files into the container
22
  COPY . /app
@@ -25,4 +22,4 @@ COPY . /app
25
  RUN pip install --no-cache-dir -r requirements.txt
26
 
27
  # Step 7: Command to start your Lichess bot
28
- CMD ["python", "lichess-bot-master/lichess-bot.py"]
 
13
 
14
  # Step 4: Download and extract Stockfish 18 safely
15
  # This extracts it into a dedicated folder and skips the broken renaming command completely
16
+ RUN chmod +x ./fairy/fairy-stockfish-largeboard_x86-64-bmi2
 
 
 
17
 
18
  # Step 5: Copy all your repository files into the container
19
  COPY . /app
 
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Step 7: Command to start your Lichess bot
25
+ CMD ["python", "lichess-bot-master/lichess-bot.py"]