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

add support for docker #49

Closed
wants to merge 2 commits into from
Closed

add support for docker #49

wants to merge 2 commits into from

Conversation

edsu7
Copy link
Contributor

@edsu7 edsu7 commented Dec 14, 2022

No description provided.

containerOptions "--bind \$(pwd):/score-client/logs"
containerOptions "--bind \$(pwd):/song-client/logs"
} else if (workflow.containerEngine == "docker") {
containerOptions "-v \$(pwd):/song-client/logs"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be score-client/logs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in

if (workflow.containerEngine == "singularity") {
containerOptions "--bind \$(pwd):/score-client/logs"
} else if (workflow.containerEngine == "docker") {
containerOptions "-v \$(pwd):/score-client/logs"

@@ -36,6 +36,8 @@ process scoreUpload {

if (workflow.containerEngine == "singularity") {
containerOptions "--bind \$(pwd):/score-client/logs"
} else if (workflow.containerEngine == "docker") {
containerOptions "-v \$(pwd):/score-client/logs"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very minor suggestion, can we change to

-v \$(pwd)/logs:/score-client/logs

Copy link
Contributor

@lindaxiang lindaxiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • A very minor suggestion.
  • Question: do we plan to make similar changes to song-score-download?

@edsu7
Copy link
Contributor Author

edsu7 commented Jan 5, 2023

closing. new branch in #51

@edsu7 edsu7 closed this Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants