title: Snapshot.war not found from dockerfile
body: <p>I'm running my Dockerfile from my Jenkinsfile, but at the momento to copy my spanshot, I get the error:</p>
  <blockquote>
  <p>Step 3/3 : COPY java-project-0.0.1-SNAPSHOT.war
  /opt/jboss/wildfly/standalone/deployments/ COPY failed: file not found
  in build context or excluded by .dockerignore: stat
  java-project-0.0.1-SNAPSHOT.war: file does not exist</p>
  </blockquote>
  <p><strong>Dockerfile</strong></p>
  <pre><code>FROM jboss/wildfly:18.0.1.Final
  
  RUN chmod 777 /opt/jboss/wildfly/standalone/deployments/
  
  COPY java-project-0.0.1-SNAPSHOT.war /opt/jboss/wildfly/standalone/deployments/
  </code></pre>
  <p>I tried several ways, with different paths, but I get the same error, someone can help me to solve it?</p>