-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
4,937 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,8 @@ FROM mhart/alpine-node:14 as common-build-stage | |
LABEL maintainer="[email protected]" | ||
LABEL project="https://github.com/tchorwat/stockfish" | ||
|
||
RUN apk add git | ||
|
||
COPY ./entrypoint.sh / | ||
|
||
RUN chmod +x /entrypoint.sh \ | ||
|
@@ -42,12 +44,16 @@ RUN chmod +x /entrypoint.sh \ | |
&& adduser -u 1000 -G stockfish -HD stockfish | ||
|
||
WORKDIR /stockfish/ | ||
USER stockfish:stockfish | ||
|
||
COPY --chown=stockfish:stockfish --from=builder /Stockfish/src/stockfish /stockfish/ | ||
COPY --chown=stockfish:stockfish --from=builder /Stockfish/Copying.txt /stockfish/ | ||
COPY --chown=stockfish:stockfish source.txt /stockfish/ | ||
COPY --chown=stockfish:stockfish --from=builder /Stockfish/src/*.nnue /stockfish/ | ||
#USER stockfish:stockfish | ||
|
||
#COPY --chown=stockfish:stockfish --from=builder /Stockfish/src/stockfish /stockfish/ | ||
#COPY --chown=stockfish:stockfish --from=builder /Stockfish/Copying.txt /stockfish/ | ||
#COPY --chown=stockfish:stockfish source.txt /stockfish/ | ||
#COPY --chown=stockfish:stockfish --from=builder /Stockfish/src/*.nnue /stockfish/ | ||
COPY --from=builder /Stockfish/src/stockfish /stockfish/ | ||
COPY --from=builder /Stockfish/Copying.txt /stockfish/ | ||
COPY source.txt /stockfish/ | ||
COPY --from=builder /Stockfish/src/*.nnue /stockfish/ | ||
|
||
EXPOSE 23249 | ||
# ENTRYPOINT ["/entrypoint.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.