mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Dockerfile was missing migrations
This commit is contained in:
2
docker/.env
vendored
2
docker/.env
vendored
@@ -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
|
||||
|
||||
5
docker/Dockerfile
vendored
5
docker/Dockerfile
vendored
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user