Remove django entrypoint script
This commit is contained in:
parent
cbc6d646ce
commit
2d3eae6e39
2 changed files with 1 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./docker/django
|
dockerfile: ./docker/django
|
||||||
command: src/entrypoint.sh
|
command: python /app/src/manage.py runserver 0.0.0.0:8000
|
||||||
environment:
|
environment:
|
||||||
- DJANGO_SETTINGS_MODULE=newsreader.conf.docker
|
- DJANGO_SETTINGS_MODULE=newsreader.conf.docker
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# This file should only be used in conjuction with docker-compose
|
|
||||||
|
|
||||||
python /app/src/manage.py migrate
|
|
||||||
python /app/src/manage.py runserver 0.0.0.0:8000
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue