I'm curious on how to write to a file with docker commands etc..
Let's say i want to build a file like so:
RUN touch newfile.php
Now how do i write to that file after it's built in the dockerfile succession?
The text doesn't need to be placed anywhere special. I'm just not sure how using docker commands you would open nano or whatever to write to the file i just touched.