title: Dockerize Angular cli application in a remote server
body: <p>i am trying to dockerize my angular app and i am getting an error("sh: 1: ng: Permission denied") when i am running the container. More specific my dockerfile is </p>
  
  <pre><code>   # Create image based on the official Node 6 image from dockerhub
     FROM node:8.10.0
  
     # Create a directory where our app will be placed
     RUN mkdir -p /app
  
     # Change directory so that our commands run inside this new directory
     WORKDIR /app
  
     # Copy dependency definitions
     COPY package.json /app
  
     # Install dependecies
     RUN npm install
  
     # Get all the code needed to run the app
     COPY . /app
  
     # Expose the port the app runs in
     EXPOSE 4200
  
     # Serve the app
     CMD ["npm", "start"]
  </code></pre>
  
  <p>Firstly i create docker image successfully but when i am going to run it i am getting the error above.</p>
  
  <p><a href="https://i.stack.imgur.com/9OTRr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9OTRr.png" alt="enter image description here"></a></p>
  
  <p>The docker running to a remote server with centos operating system.The simple solution i think is to change the rights of start script but i dont know how i can do that.I will appreciate anything help.</p>