I'm yoused to using cd when shifting level; but in docker you only have to use WORKDIR every time you make a change of level(as many as you like). PROBLEM: I can see that ./ is the toplevel and I have seen examples like WORKDIR /A/B/C (I believe it must be to go to level 3 C). I have tried (almost every possibility); but are still not near!
I have a repository in github https://github.com/JupyterPS/Slimline where I want to move item requirements.txt into folder CONFIG, that means shifting one level down.
Question
henning reckey 0
I'm yoused to using cd when shifting level; but in docker you only have to use WORKDIR every time you make a change of level(as many as you like). PROBLEM: I can see that ./ is the toplevel and I have seen examples like WORKDIR /A/B/C (I believe it must be to go to level 3 C). I have tried (almost every possibility); but are still not near!
I have a repository in github https://github.com/JupyterPS/Slimline where I want to move item requirements.txt into folder CONFIG, that means shifting one level down.
What would that look like in my dockerfile apart from ./?
Looking forward to see a good solution, thank you
Link to post
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.