T1ckbase commited on
Commit
6399d1a
·
1 Parent(s): 129d692
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,9 +8,6 @@ RUN apt-get update && \
8
  apt-get install -y curl tar --no-install-recommends && \
9
  rm -rf /var/lib/apt/lists/*
10
 
11
- # Prefer not to run as root.
12
- USER deno
13
-
14
  RUN curl -L https://github.com/official-stockfish/Stockfish/releases/download/sf_17.1/stockfish-ubuntu-x86-64.tar -o /tmp/stockfish.tar && \
15
  tar -xvf /tmp/stockfish.tar -C /tmp/ && \
16
  mv /tmp/stockfish/stockfish-ubuntu-x86-64 /app/stockfish-ubuntu-x86-64 && \
@@ -18,6 +15,9 @@ RUN curl -L https://github.com/official-stockfish/Stockfish/releases/download/sf
18
 
19
  RUN chmod +x /app/stockfish-ubuntu-x86-64
20
 
 
 
 
21
  RUN deno install --entrypoint main.ts
22
 
23
  COPY . .
 
8
  apt-get install -y curl tar --no-install-recommends && \
9
  rm -rf /var/lib/apt/lists/*
10
 
 
 
 
11
  RUN curl -L https://github.com/official-stockfish/Stockfish/releases/download/sf_17.1/stockfish-ubuntu-x86-64.tar -o /tmp/stockfish.tar && \
12
  tar -xvf /tmp/stockfish.tar -C /tmp/ && \
13
  mv /tmp/stockfish/stockfish-ubuntu-x86-64 /app/stockfish-ubuntu-x86-64 && \
 
15
 
16
  RUN chmod +x /app/stockfish-ubuntu-x86-64
17
 
18
+ # Prefer not to run as root.
19
+ USER deno
20
+
21
  RUN deno install --entrypoint main.ts
22
 
23
  COPY . .