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

adding Dockerfile #372

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

adding Dockerfile #372

wants to merge 5 commits into from

Conversation

ayushbhatt29
Copy link
Contributor

Signed-off-by: ayushbhatt29 [email protected]

ayushbhatt29 added 5 commits November 18, 2021 19:50
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
WORKDIR /workdir
RUN chmod +x /workdir/publicenvvar.sh
#for public delivery
CMD "/workdir/publicenvvar.sh"

Choose a reason for hiding this comment

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

ideally we should not repeat the path for the WORKDIR. All commands will get executed relative to the working directory path. So could have used the following instead:

Suggested change
CMD "/workdir/publicenvvar.sh"
CMD "./publicenvvar.sh"

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.

2 participants