add FROM_ARCH

This commit is contained in:
Brian Martin 2019-12-31 15:20:17 -05:00
parent 332efa9c94
commit e8817454e5
5 changed files with 16 additions and 1 deletions

View file

@ -1,17 +0,0 @@
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"]