-
Notifications
You must be signed in to change notification settings - Fork 13
Added Dockerfile #9
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
Conversation
|
||
RUN pip install --no-cache datasets transformers soundfile numpy torch torchaudio | ||
|
||
COPY . . |
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.
Can you add RUN pip install -e .
after this line?
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.
Oh yeah. Sure thing. I also removed the README from the .dockerignore as it is embedded in the setup.
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.
Oh yeah. Sure thing. I also removed the README from the .dockerignore as it is embedded in the setup.
It is before COPY . .
. I think it should run RUN pip install -e .
after COPY . .
.
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.
Oh I'm so sorry. Must be getting dizzy 🥴. I just tried it in the already existing test container on my machine and forgot that the relevant files sure need to be copied.😵💫 Should be fixed now.
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.
Thank you! Have a good day! 😄
Added Dockerfile (and .dockerignore).
Added a Docker section to the README.
This is related to issue #8.