diff --git a/docker/.env b/docker/.env index 75596a2..b60e7da 100644 --- a/docker/.env +++ b/docker/.env @@ -1,4 +1,4 @@ -LOCAL_BOOK_DIR=~/Books #This directory will be craeted otherwise link to the directory containing your .epub files +LOCAL_BOOK_DIR=/home/marvin/git/pyShelf/Books PORT=8088 POSTGRES_VER=12.2 POSTGRES_USER=pyshelf diff --git a/docker/Dockerfile b/docker/Dockerfile index 4f11133..81b374b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,9 +12,8 @@ RUN python3 -m pip install wheel RUN git clone https://github.com/hat/pyShelf.git /usr/src/app/ RUN python3 -m pip install -r /usr/src/app/requirements.txt EXPOSE 8000 -#CMD ["bin/bash"] WORKDIR /usr/src/app/src/ -#RUN python3 manage.py migrate -#RUN python3 manage.py migrate interface +RUN python3 manage.py migrate +RUN python3 manage.py migrate interface CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]