-
I tried to push with
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We were able to make it work by not using the built-in editor but instead creating it locally and pushing the template to the instance with Coder. I believe this example demonstrates the process well (https://github.com/matifali/coder-templates/tree/main/deeplearning-nvidia). In the "images" folder, we have, for instance, a requirements.txt file that we use in the Dockerfile. |
Beta Was this translation helpful? Give feedback.
-
Hi @mforell I don't see a Do you mean another link? |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry for the confusion. You'll just have to copy the files you need in the Dockerfile. In the tensorflow.Dockerfile line 42 the requirements.txt is copied and line 60 e.g. a main.py |
Beta Was this translation helpful? Give feedback.
Hi, sorry for the confusion.
I just made a sample project for you:
https://github.com/mforell/coder-template-example
You'll just have to copy the files you need in the Dockerfile.
In the tensorflow.Dockerfile line 42 the requirements.txt is copied and line 60 e.g. a main.py