From 7aec175588515cb67e8a88837055f7f67bd702ab Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Fri, 22 Nov 2019 14:59:23 -0500 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 85e9ea5..604ddb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,18 +2,16 @@ FROM python:3.7-alpine as base FROM base as builder -RUN mkdir /install -WORKDIR /install - -COPY requirements.txt /requirements.txt - -RUN pip install --install-option="--prefix=/install" -r /requirements.txt +# add build utils (gcc, others) +RUN apk add build-base FROM base -COPY --from=builder /install /usr/local COPY . /bumper WORKDIR /bumper -ENTRYPOINT ["python3", "-m", "bumper"] \ No newline at end of file +# install required python packages +RUN pip3 install -r requirements.txt + +ENTRYPOINT ["python3", "-m", "bumper"] From d99e1c281c0bd5ac491c5a7556224f091a0da1f9 Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Fri, 22 Nov 2019 15:04:50 -0500 Subject: [PATCH 2/2] Update appveyor.yml --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 56cc65c..9ea12c9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,7 @@ environment: install: - pip install pipenv - - pipenv --python 3 + - pipenv --python 3.7 - pipenv install --dev build: off