diff --git a/docker/Dockerfile b/docker/Dockerfile index 40ab16c5..d7f141d1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,8 +2,11 @@ FROM python:3 VOLUME ["~/.teos"] WORKDIR /srv ADD . /srv/python-teos -RUN apt-get update && apt-get -y install libffi-dev libssl-dev pkg-config libleveldb-dev -RUN mkdir ~/.teos && cd python-teos && pip install . +RUN apt-get update && \ + apt-get -y --no-install-recommends install libffi-dev libssl-dev pkg-config libleveldb-dev && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +RUN mkdir ~/.teos && cd python-teos && pip install . WORKDIR /srv/python-teos EXPOSE 9814/tcp ENTRYPOINT [ "/srv/python-teos/docker/entrypoint.sh" ]