T1ckbase commited on
Commit
7cfaedc
·
1 Parent(s): 0d3b73e
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -7,6 +7,13 @@ WORKDIR /app
7
  # Prefer not to run as root.
8
  USER deno
9
 
 
 
 
 
 
 
 
10
  RUN deno install --entrypoint main.ts
11
 
12
  COPY . .
 
7
  # Prefer not to run as root.
8
  USER deno
9
 
10
+ RUN curl -L https://github.com/official-stockfish/Stockfish/releases/download/sf_17.1/stockfish-ubuntu-x86-64.tar -o /tmp/stockfish.tar && \
11
+ tar -xvf /tmp/stockfish.tar -C /tmp/ && \
12
+ mv /tmp/stockfish/stockfish-ubuntu-x86-64 /app/stockfish-ubuntu-x86-64 && \
13
+ rm -rf /tmp/stockfish /tmp/stockfish.tar
14
+
15
+ RUN chmod +x /app/stockfish-ubuntu-x86-64
16
+
17
  RUN deno install --entrypoint main.ts
18
 
19
  COPY . .