Skip to content

Commit

Permalink
[feat] Add basic Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seblucas committed Sep 6, 2018
1 parent ff7934c commit c53ddac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM seblucas/alpine-python3:latest
LABEL maintainer="Sebastien Lucas <[email protected]>"
LABEL Description="i2c2MQTT image"

ADD https://gist.github.com/seblucas/0668844f2ef247993ff605f10014c1ed/raw/070321575dc656eee16ee6bfeb3f19aea56a4ac0/runCron.sh /bin/runCron.sh
COPY *.py /usr/bin/

RUN chmod +x /usr/bin/i2c2mqtt.py && \
chmod +x /bin/runCron.sh

ENTRYPOINT ["runCron.sh"]

0 comments on commit c53ddac

Please sign in to comment.