title: Passing Parameters to NPM App in Dockerfile with Run Yarn
body: <p>I have an acquired docker file I'm using to deploy graphql-faker to Heroku using a Docker image.</p>
  <p>The issue I'm having is that I can't figure out how to pass critical &quot;config parameters&quot; to the graphql-faker app upon startup.</p>
  <p>Need to pass these parameters:</p>
  <pre><code>--extend &lt;URL&gt; 
  --forward-headers [Array]
  </code></pre>
  <p>Here's the Docekfile as it stands:</p>
  <pre><code>FROM node:14.3.0-alpine
  
  ENTRYPOINT [&quot;node&quot;, &quot;/usr/local/bin/graphql-faker&quot;]
  WORKDIR /workdir
  
  EXPOSE 9002
  
  RUN yarn global add graphql-faker &amp;&amp; \
      yarn cache clean --force
  </code></pre>