Amogh1221 commited on
Commit
5946842
·
verified ·
1 Parent(s): 3dadffa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -24,9 +24,13 @@ RUN echo "--- REPOSITORY CONTENT DEBUG ---" && \
24
  ls -R /app && \
25
  echo "---------------------------------"
26
 
27
- # ============================================================
28
  # BUILD YOUR CUSTOM ENGINE (The Source Fix)
29
  # ============================================================
 
 
 
 
 
30
  WORKDIR /app/src
31
 
32
  # We build from YOUR 'src/' folder so it natively supports your output.nnue
 
24
  ls -R /app && \
25
  echo "---------------------------------"
26
 
 
27
  # BUILD YOUR CUSTOM ENGINE (The Source Fix)
28
  # ============================================================
29
+ # Create a dummy net.sh to bypass the missing script error (we provide our own brain anyway)
30
+ RUN mkdir -p /app/scripts && \
31
+ echo '#!/bin/sh\nexit 0' > /app/scripts/net.sh && \
32
+ chmod +x /app/scripts/net.sh
33
+
34
  WORKDIR /app/src
35
 
36
  # We build from YOUR 'src/' folder so it natively supports your output.nnue