From 1c7b2c5e96504aaf8e948e1f4eb88968d5f70ac5 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 18 Jun 2019 15:49:57 +0200 Subject: [PATCH] poc/Dockerfile: tidy it a little bit --- poc/Dockerfile | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/poc/Dockerfile b/poc/Dockerfile index d0d2249..79a15b5 100644 --- a/poc/Dockerfile +++ b/poc/Dockerfile @@ -1,7 +1,20 @@ FROM python:3.7-alpine -RUN apk update && apk add bash curl coreutils file -RUN pip install pipenv + COPY Pipfile Pipfile.lock /tmp/ -RUN cd /tmp && pipenv install --system --deploy + COPY bin/* /usr/bin/ + +WORKDIR /tmp + +RUN apk upgrade --update-cache; \ + apk add \ + bash \ + curl \ + coreutils \ + file; \ + \ + pip install pipenv; \ + \ + pipenv install --system --deploy; + ENTRYPOINT ["/usr/bin/kapow"]