title: Copy to S3 with AWS CLI with proper content type
body: <p>I'm deploying static AngularJS webpage to S3 bucket. I use Jenkins, copy file over Shell with AWS CLI. The specific command in Groovy looks like this:</p>
  
  <pre class="lang-groovy prettyprint-override"><code>// after build, files are located in frontend/target/myfrontend/
  sh 'aws s3 cp frontend/target/myfrontend/ $FrontendAddress --recursive'
  </code></pre>
  
  <p>I have SVG graphics in <code>/resources</code> folder. That image is not displayed correctly inside <code>img</code> tag, because it has content-type set by default to <code>binary/octet-stream</code>. It should be <code>image/svg+xml</code> instead. </p>
  
  <p>How to copy my SVG files with <code>aws s3 cp</code> command, and set correct content type?</p>