aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 4c275f0..bd5fc43 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,12 @@ ENV allowed_hosts="*"
ENV DJANGO_DEBUG="y"
RUN /srv/linaro-license-protection/manage.py migrate # Used to build the sqlite database. Temp fix as codebase needs to be updated to delete old DB calls
+# README
+# RUN Django "runserver"
+# docker run -it --mount src="$(pwd)",target=/srv/linaro-license-protection,type=bind -e DJANGO_DEBUG=Y -p 8080:8080 linaro/ci-amd64-llp-alpine
+#
+# RUN in "production" mode
# Runs docker in "S3" mode (settings.production) in django runserver
# Mount a docker "bind" mount for on-the-fly reloading
# docker build -t llp .
-# docker run -it --mount src="$(pwd)",target=/srv/linaro-license-protection,type=bind -p 8080:8080 llp
+# docker run -it --mount src="$(pwd)",target=/srv/linaro-license-protection,type=bind -p 8080:8080 linaro/ci-amd64-llp-alpine