1
0
mirror of https://github.com/Adam-Ant/drone-trigger synced 2024-12-20 07:24:34 +00:00

Add Dockerfile

This commit is contained in:
Adam Dodman 2017-07-16 23:56:01 +01:00
parent 9d56dbbfdb
commit 5e7296e76d

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM alpine:3.6
MAINTAINER Adam Dodman <"adam.dodman@gmx.com">
ADD main.py /main.py
RUN apk add --no-cache python3 py3-pip tini\
&& pip3 install requests configobj
VOLUME ["/config"]
CMD ["/sbin/tini","--","python3","main.py","-c","/config"]