Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

security updates and style changes #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ ENV USER Anonymous
ENV TEAM 0
ENV PASSKEY ""
ENV POWER full
ENV GPU false
ENV GPU false
ENV ALLOW "127.0.0.1/32:7396"
ENV WEBALLOW "127.0.0.1/32:7396"
# needs driver and opencl support

EXPOSE 7396

ENTRYPOINT ["sh", "-c", "FAHClient --allow=0/0:7396 --web-allow=0/0:7396 --user=$USER --team=$TEAM --passkey=$PASSKEY --power=$POWER --gpu=$GPU"]
ENTRYPOINT ["sh", "-c", "FAHClient --allow=${ALLOW} --web-allow=${WEBALLOW} --user='${USER}' --team='${TEAM}' --passkey='${PASSKEY}' --power=${POWER} --gpu=${GPU}"]