0
I have the following snippet in my docker file:
...
ADD app.war /opt/apache-tomcat-8.5.14/webapps/app.war
...
However, entering the docker image as:
docker exec -it tomcat /bin/sh
and doing an ls
to the webapps
folder, the file isn’t there. The file, in my local OS, windows, it is in the same folder as the dockerfile. Any clue about why this happens?
However, using the cp
command in my windows cmd, it works correctly after checking in the container.
Thanks!