title: Docker-compose up with input argumen
body: <p>I'm new to dockers world. I tried to put my script inside docker, my script takes input argument if running directly in a command prompt -- there are two variables inside my scripts that using <code>input(&quot;enter the input here&quot;)</code> argument.</p>
  <p>When I tried my scripts directly via cmd <code>python scripts.py</code> it runs well, but I tried to dockerize my script using docker-compose but it raised</p>
  <pre><code>bigquery_1  | Enter input: Traceback (most recent call last):
  bigquery_1  |   File &quot;./scripts/bq.py&quot;, line 6, in &lt;module&gt;
  bigquery_1  |     default_filterDate_1 = (str(input(&quot; Enter input: &quot;)) or `some default arguments`)
  bigquery_1  | EOFError: EOF when reading a line
  bigquery_1 exited with code 1
  </code></pre>
  <p>This is what my Dockerfile looks like:</p>
  <pre><code>FROM python:3.7
  
  WORKDIR /usr/src/app
  
  COPY ./code /usr/src/app/
  
  RUN pip3 install -r ./requirements.txt
  </code></pre>
  <p>This is the docker-compose.yml</p>
  <pre class="lang-yaml prettyprint-override"><code>version: '3.8'
  
  services: 
      bigquery:
          build: ./
          command: python ./scripts/bq.py
  </code></pre>
  <p>Is there any workaround on how to pass input variables using docker?</p>