Skip to content

Commit

Permalink
Added a Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAC committed May 28, 2018
1 parent 4a3ff87 commit 590cc5e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM python:3-stretch
MAINTAINER Lars von Wedel <vonwedel@me.com>

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt requirements.txt
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt

RUN apt-get update && apt-get install -y bluez

COPY . .

CMD [ "python3", "./miflora-mqtt-daemon.py", "--config_dir", "/config" ]

0 comments on commit 590cc5e

Please sign in to comment.