mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Dockerfile loading homepage, books not showing when in correct folder
This commit is contained in:
8
docker/Dockerfile
vendored
8
docker/Dockerfile
vendored
@@ -11,8 +11,10 @@ RUN apt-get install -y build-essential python3.8 python3.8-dev python3-pip pytho
|
|||||||
RUN python3 -m pip install wheel
|
RUN python3 -m pip install wheel
|
||||||
RUN git clone https://github.com/hat/pyShelf.git /usr/src/app/
|
RUN git clone https://github.com/hat/pyShelf.git /usr/src/app/
|
||||||
RUN python3 -m pip install -r /usr/src/app/requirements.txt
|
RUN python3 -m pip install -r /usr/src/app/requirements.txt
|
||||||
#CMD [""]
|
EXPOSE 8000
|
||||||
|
#CMD ["bin/bash"]
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app/src/
|
||||||
#RUN python3 manage.py migrate
|
#RUN python3 manage.py migrate
|
||||||
#RUN python3 manage.py migrate interface
|
#RUN python3 manage.py migrate interface
|
||||||
WORKDIR /usr/src/app/src/
|
CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||||
CMD ["python3", "manage.py", "runserver"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user