I have a build where I’m trying to do just a few things (copy over some directories, remove some existing directories that are created in the container by default).
I’ve got it where it builds fine using docker-compose up
But how do I run commands on that container after it’s up?
In my dockerfile I put:
RUN mkdir /var/www/html/wp-content/themes/test_theme/
But it fails saying ‘no such file or directory’, which is true - because I’m trying to make that directory.
So how would I accomplish something like that?