-
Notifications
You must be signed in to change notification settings - Fork 680
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
Added docker support #300
Added docker support #300
Conversation
There is error:
|
Dockerfile
Outdated
@@ -0,0 +1,7 @@ | |||
FROM python:slim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to use the python
one here, except if you are going to install gcc manually. Otherwise it will throw an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed that
Dockerfile
Outdated
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
COPY . . | ||
ENTRYPOINT ["python3", "main.py"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be run.py
as described in the readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap
Description
This adds the ability to run miner as a docker container
Fixes #79 (not really)
Type of change
How Has This Been Tested?
I've performed the whole process from cloning to starting the miner inside docker c:
Checklist: