Dockerfile 367 B

123456789101112131415
  1. FROM python:3-stretch
  2. MAINTAINER Lars von Wedel <vonwedel@me.com>
  3. RUN mkdir -p /usr/src/app
  4. WORKDIR /usr/src/app
  5. RUN apt-get update && apt-get install -y bluez
  6. COPY requirements.txt requirements.txt
  7. RUN pip install --upgrade pip
  8. RUN pip install --no-cache-dir -r requirements.txt
  9. COPY . .
  10. CMD [ "python3", "./miflora-mqtt-daemon.py", "--config_dir", "/config" ]