Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
9d64625
1
Parent(s):
f3575f1
- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
FROM denoland/deno:latest
|
2 |
|
|
|
|
|
3 |
EXPOSE 7860
|
4 |
|
5 |
WORKDIR /app
|
@@ -15,9 +17,6 @@ RUN curl -L https://github.com/official-stockfish/Stockfish/releases/download/sf
|
|
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 . .
|
|
|
1 |
FROM denoland/deno:latest
|
2 |
|
3 |
+
USER root
|
4 |
+
|
5 |
EXPOSE 7860
|
6 |
|
7 |
WORKDIR /app
|
|
|
17 |
|
18 |
RUN chmod +x /app/stockfish-ubuntu-x86-64
|
19 |
|
|
|
|
|
|
|
20 |
RUN deno install --entrypoint main.ts
|
21 |
|
22 |
COPY . .
|