This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ COPY requirements.txt ./
|
|||||||
COPY django_code ./
|
COPY django_code ./
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN python django_code/django_code/manage.py migrate
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN python django_code/manage.py migrate
|
|
||||||
|
|
||||||
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]
|
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user