This commit is contained in:
@@ -24,5 +24,7 @@ RUN pip install --cache-dir=/opt/hostedtoolcache/pip -r requirements.txt
|
|||||||
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
|
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
RUN python django_code/manage.py collectstatic --noinput
|
||||||
|
|
||||||
# CMD is the command run when the container starts
|
# CMD is the command run when the container starts
|
||||||
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