Dockerfile 315 B

1234567891011121314151617
  1. FROM resin/rpi-raspbian:jessie-20170531
  2. RUN apt-get update
  3. RUN apt-get install -y python python-dev
  4. ADD https://bootstrap.pypa.io/get-pip.py /tmp/get-pip.py
  5. RUN python /tmp/get-pip.py
  6. RUN pip install flask flask-ask unidecode
  7. COPY server.py /app/server.py
  8. WORKDIR /app
  9. EXPOSE 80
  10. CMD python -u /app/server.py