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

13 lines
253 B
Docker
Raw Permalink Normal View History

2017-07-16 22:56:01 +00:00
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","-u","main.py","-c","/config"]