From e6f11d08b6c61af3876617a0dd0246869edbe864 Mon Sep 17 00:00:00 2001 From: David Darias Date: Mon, 2 Nov 2015 21:46:56 -0500 Subject: [PATCH] Changed the base image to Alpine --- Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8110305..6f023c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,11 @@ -FROM debian:8.0 +FROM frolvlad/alpine-python3 -RUN apt-get update \ - && apt-get install -y --no-install-recommends python3.4 python3-pip \ - && pip3 install docker-py \ - && rm -rf /var/lib/apt/lists/* +RUN pip3 install docker-py +RUN mkdir /hoster +WORKDIR /hoster +COPY ./hoster.py . -VOLUME ["/dockerfiles"] -ENTRYPOINT ["/dockerfiles/entrypoint.sh"] - -CMD ["python3"] +CMD ["python3", "hoster.py"]