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:
parent
9d56dbbfdb
commit
5e7296e76d
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user