Changed the base image to Alpine
This commit is contained in:
parent
5e6a2919bf
commit
e6f11d08b6
15
Dockerfile
15
Dockerfile
|
|
@ -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"]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue