title: Docker File: Chmod on Entrypoint Script
body: <p>Is there a reason I need to chmod +x on my entrypoint script? It didn't appear Redis was doing this in their dockerfile (<a href="https://github.com/docker-library/redis/blob/109323988b7663bceaf4a01c3353f8934dfc002e/2.8/Dockerfile" rel="noreferrer">https://github.com/docker-library/redis/blob/109323988b7663bceaf4a01c3353f8934dfc002e/2.8/Dockerfile</a>) for their entrypoint script.</p>
  
  <p>Dockerfile:</p>
  
  <pre><code># Generic Docker Image for Running Node app from Git Repository
  FROM    node:0.10.33-slim
  ENV NODE_ENV production
  
  # Add script to pull Node app from Git and run the app
  COPY docker-node-entrypoint.sh /entrypoint.sh
  RUN chmod +x /entrypoint.sh
  ENTRYPOINT ["/entrypoint.sh"]
  
  EXPOSE  8080
  CMD ["--help"]
  </code></pre>