1
0
mirror of https://github.com/Adam-Ant/drone-trigger synced 2024-11-05 05:36:23 +00:00
drone-trigger/Dockerfile

13 lines
253 B
Docker

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"]