I m a full new docker user, and I m actually acquiring the basis. Actually, I need to create a simple dev environnement using :
I need to create a production image (and if possible, the same used in my dev one) and to be able to pull data from git, when jenkins tells me to do it so. I’m actually using OpenSSH in my Docker image, and connect through RSA key between Jenkins and my Docker image, when a build successes.
- How can I make changes inside my dockerfile code, directly from my “real os” ? I mean, each time I make a modification, I used to use nodemon to restart my app, so I can have informations displayed in the screen in close realtime. The code is now inside my docker container, and I dont know how to work, directly on it.
- I wanted to know if my way is a good practice, or if it exists something better ?
Thanks for advance