Skip to content

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

Merged
merged 5 commits into from
Oct 9, 2022
Merged

Added Dockerfile #9

merged 5 commits into from
Oct 9, 2022

Conversation

FinnKr
Copy link
Contributor

@FinnKr FinnKr commented Oct 9, 2022

Added Dockerfile (and .dockerignore).
Added a Docker section to the README.

This is related to issue #8.

@FinnKr FinnKr mentioned this pull request Oct 9, 2022

RUN pip install --no-cache datasets transformers soundfile numpy torch torchaudio

COPY . .
Copy link
Member

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?

Copy link
Contributor Author

@FinnKr FinnKr Oct 9, 2022

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.

Copy link
Member

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 . ..

Copy link
Contributor Author

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.

Copy link
Member

@wannaphong wannaphong left a 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! 😄

@wannaphong wannaphong merged commit 4071489 into PyThaiNLP:main Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants