add hooks and dockerfiles

add hooks and dockerfiles
This commit is contained in:
Brian Martin 2019-12-31 14:11:22 -05:00
parent 2f331ae440
commit 4f820ebce8
6 changed files with 109 additions and 0 deletions

17
amd64.dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM amd64/python:3.7-alpine as base
FROM base as builder
# add build utils (gcc, others)
RUN apk add build-base
FROM base
COPY . /bumper
WORKDIR /bumper
# install required python packages
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "-m", "bumper"]