stash
This commit is contained in:
parent
4f2fe011c0
commit
6fcdd1eefa
4 changed files with 22 additions and 9 deletions
|
|
@ -11,6 +11,7 @@ WORKDIR /code
|
|||
# Install dependencies
|
||||
COPY requirements.txt /code/
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN touch /mnt/db.sqlite3 && touch /mnt/testdata.py && mkdir /mnt/userfiles
|
||||
|
||||
# Run the application
|
||||
CMD ["sh", "-c", "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --insecure"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue