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 \
|
||||
&& 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"]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue