Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #297 from 3nprob/clean-docker
Browse files Browse the repository at this point in the history
Fix .teos volume path in Dockerfile
  • Loading branch information
sr-gi authored Aug 25, 2021
2 parents f8f2141 + 5cdcab3 commit 66bc075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 66bc075

Please sign in to comment.