From 776152ef4724f3343e4b03fc2e4c61117d812fa8 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Wed, 11 Apr 2018 22:18:15 +0100 Subject: [PATCH] Add missing expose container port and commneted command to auto start the dev server --- docker/Dockerfile | 4 ++++ docker/Dockerfile-django-1.4.22-wheezy | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 68d9fc3..2fcb51c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,3 +12,7 @@ WORKDIR /opt/expo/troggle COPY requirements.txt . RUN pip install -r requirements.txt + +EXPOSE 8000 + +#CMD ["python","manage.py","runserver","0.0.0.0:8000"] \ No newline at end of file diff --git a/docker/Dockerfile-django-1.4.22-wheezy b/docker/Dockerfile-django-1.4.22-wheezy index c3d72fb..f6d5554 100644 --- a/docker/Dockerfile-django-1.4.22-wheezy +++ b/docker/Dockerfile-django-1.4.22-wheezy @@ -12,3 +12,7 @@ WORKDIR /opt/expo/troggle COPY requirements.txt . RUN pip install -r requirements.txt + +EXPOSE 8000 + +#CMD ["python","manage.py","runserver","0.0.0.0:8000"] \ No newline at end of file