title: ImportError: No module named redis - Docker
body: <p>I could not get rid of this error. I already installed redis using <code>sudo pip install redis</code> and <code>sudo easy_install redis</code> . I test it out redis on terminal with "python" and "python3" commands and it's working as expected but i cannot run on docker application, when i start container i get the following error:</p>
  
  <pre><code>import redis   
  application_1       | ImportError: No module named redis
  </code></pre>
  
  <p>Here is python file that i got the error from:</p>
  
  <pre><code>import redis
  from application_1 import logger
  redis_client = redis.StrictRedis()
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM python:2-alpine
  ENV INSTALL_PATH /application_1
  RUN mkdir -p $INSTALL_PATH
  
  WORKDIR $INSTALL_PATH
  
  # update needed for wget
  # update tar .. --strip-componenets not available in current version
  # install permanent deps
  RUN apk --update add --no-cache ca-certificates wget tar xz postgresql-dev
  RUN update-ca-certificates
  
  COPY requirements.txt requirements.txt
  
  # install deps
  RUN apk update
  RUN apk add --no-cache --virtual build-dependencies gcc python-dev libevent- 
  dev linux-headers musl-dev \
  &amp;&amp; pip install -r requirements.txt \
  &amp;&amp; apk del build-dependencies
  
  # install ffmpeg
  COPY scripts/set_ffmpeg.sh scripts/set_ffmpeg.sh
  RUN ash scripts/set_ffmpeg.sh
  
  # copy remaining files
  COPY . .
  
  CMD python app.py
  </code></pre>
  
  <p>Any idea on how to fix this issue ?</p>