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:
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