title: How to copy file to a container in docker
body: <p>I have a docker-compose and a docker file.</p>
  <p>In the docker file, I have COPY instructions where I specify  </p>
  <p>The problem is, I have a new JAR file in the same folder as my dockerfile but it keeps copying the older jar. I have no idea of where it is getting the older jar. I have made sure to have only one jar.</p>
  <p>COPY ./xxxx.jar /home/dev/xxxxd.jar</p>