From 5cdcab3ab4198e7b08c4a653fceaec03424ad522 Mon Sep 17 00:00:00 2001 From: 3nprob <3nprob@example.com> Date: Thu, 8 Jul 2021 14:35:02 +0900 Subject: [PATCH] Fix .teos volume path in Dockerfile --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d7f141d1..961e40a0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,12 +1,12 @@ FROM python:3 -VOLUME ["~/.teos"] +VOLUME ["/root/.teos"] WORKDIR /srv ADD . /srv/python-teos 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 . +RUN mkdir /root/.teos && cd python-teos && pip install . WORKDIR /srv/python-teos EXPOSE 9814/tcp ENTRYPOINT [ "/srv/python-teos/docker/entrypoint.sh" ]