Changed the base image to Alpine

This commit is contained in:
David Darias 2015-11-02 21:46:56 -05:00
parent 5e6a2919bf
commit e6f11d08b6
1 changed files with 6 additions and 9 deletions

View File

@ -1,14 +1,11 @@
FROM debian:8.0 FROM frolvlad/alpine-python3
RUN apt-get update \ RUN pip3 install docker-py
&& apt-get install -y --no-install-recommends python3.4 python3-pip \ RUN mkdir /hoster
&& pip3 install docker-py \ WORKDIR /hoster
&& rm -rf /var/lib/apt/lists/* COPY ./hoster.py .
VOLUME ["/dockerfiles"] CMD ["python3", "hoster.py"]
ENTRYPOINT ["/dockerfiles/entrypoint.sh"]
CMD ["python3"]