This commit is contained in:
@@ -16,6 +16,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
|
||||
COPY . ./
|
||||
RUN python django_code/manage.py migrate
|
||||
|
||||
# CMD is the command run when the container starts
|
||||
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]
|
||||
|
||||
Reference in New Issue
Block a user