title: 'pipenv lock -r' doesn't work through docker-compose run command
body: <p>I have python container if I'm in the container I can use pipenv for generate a requirements.txt file with :
  <code>pipenv lock -r &gt; python_modules/requirements.txt</code></p>
  
  <p>But if I'm not in the container I can't with the command : </p>
  
  <pre><code>docker-compose run python pipenv lock -r &gt; python_modules/requirements.txt
  </code></pre>
  
  <p>The requirements file that I get is like this :</p>
  
  <pre><code>Usage: [39m[1mpipenv[39m[22m [OPTIONS] COMMAND [ARGS]...
  
  [39m[1mOptions:[39m[22m
    --where                         Output project
                                    home
                                    information.
  
    --venv                          Output
                                    virtualenv
                                    information.
  
    -
  
  -py                            Output Python
                                        interpreter
  ...
  </code></pre>