title: Why when I add nginx to docker do I get the error: /bin/sh: pip: not found
body: <p>If I add </p>
  
  <pre><code>FROM nginx:1.16-alpine
  </code></pre>
  
  <p>to my Dockerfile, my build breaks with the error:</p>
  
  <pre><code>/bin/sh: pip: not found
  </code></pre>
  
  <p>I tried sending an update command via :</p>
  
  <pre><code>RUN set -xe \
      &amp;&amp; apt-get update \
      &amp;&amp; apt-get install python-pip
  </code></pre>
  
  <p>but then I get the error that apt-get can't be found.</p>
  
  <p>Here is my Dockerfile:</p>
  
  <pre><code>FROM python:3.7.2-alpine
  FROM nginx:1.16-alpine
  
  ENV INSTALL_PATH /web
  
  RUN mkdir -p $INSTALL_PATH
  
  WORKDIR $INSTALL_PATH
  
  COPY requirements.txt requirements.txt
  RUN pip install -r requirements.txt
  
  COPY . .
  
  CMD gunicorn -b 0.0.0.0:9000 --access-logfile - "web.webhook_server:create_app()"
  </code></pre>
  
  <p>If I remove that one line:</p>
  
  <pre><code>FROM nginx:1.16-alpine
  </code></pre>
  
  <p>it all runs fine.  But of course, I need nginx.</p>
  
  <p>What could be going wrong here?  I'm very confused.</p>