poc/Dockerfile: tidy it a little bit

This commit is contained in:
pancho horrillo
2019-06-18 15:49:57 +02:00
parent 16145da7a5
commit 1c7b2c5e96
+16 -3
View File
@@ -1,7 +1,20 @@
FROM python:3.7-alpine FROM python:3.7-alpine
RUN apk update && apk add bash curl coreutils file
RUN pip install pipenv
COPY Pipfile Pipfile.lock /tmp/ COPY Pipfile Pipfile.lock /tmp/
RUN cd /tmp && pipenv install --system --deploy
COPY bin/* /usr/bin/ 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"] ENTRYPOINT ["/usr/bin/kapow"]