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 \
&& 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"]