title: Cannot Compile the typescript in Docker
body: <p>I want to use typescript in my node.js Web Server. However, the Web Sever is in a Docker Container. I use the the Dockerfile like the blow:</p>
  
  <pre><code>FROM node:latest
  COPY code/ /usr/local/lib
  WORKDIR /usr/local/lib
  
  RUN npm install -g koa@2
  RUN npm install -g sequelize
  RUN npm install -g mysql
  RUN npm install -g typescript
  
  CMD ["sh", "-c", "rm", "webApp.js"]
  CMD ["sh", "-c", "tsc", "webApp.ts"]
  CMD ["node", "webApp.js"]
  </code></pre>
  
  <p>After I build my Docker, I find that, no webApp.js is generated after the CMD commands.
  Why, and How should I solve it? Thanks.</p>