title: How to run a javascript client inside a Docker container?
body: <p>So, I have 3 files:</p>
  <ul>
  <li>client.js</li>
  <li>app.js</li>
  <li>database.js</li>
  </ul>
  <p>In the app.js file, I have created an express server with multiple services that connect to the database. The client.js file runs the services, using node-fetch.</p>
  <p>So far, I have created a Dockerfile to run app.js:</p>
  <pre><code>FROM node:10
  WORKDIR /app
  COPY package.json /app
  RUN npm install
  COPY . /app
  CMD node app
  EXPOSE 3000
  </code></pre>
  <p>Perhaps this is a dumb question but, is there any way to create another Dockerfile to run the client.js inside a container?</p>
  <p>Thank you.</p>