From 4792f039ce2dbe9deb876074fe2b114a76d1dd3a Mon Sep 17 00:00:00 2001
From: Thomas  MENARD <thomas.menard@pasteur.fr>
Date: Tue, 4 Jun 2019 17:49:58 +0200
Subject: [PATCH] Add Dockerfile, gitlab-ci

---
 Dockerfile    | 4 ++--
 manifest.yaml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index de8e513..8e303b1 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,8 +16,8 @@ RUN pip install --default-timeout=100 --upgrade pip && pip install -r /app/requi
 
 # We add the current content of the git repo in the /app directory
 ADD . /app
-
+RUN rm -rf .gitlab-ci.yml Dockerfile README.md img 
 # We use the CMD command to start the gunicorn daemon
 # when we start the container.
 # Note the $PORT variable, we will need to define it when we start the container
-CMD gunicorn -b :$PORT mysite.wsgi
+CMD python manage.py runserver 0.0.0.0:$PORT
diff --git a/manifest.yaml b/manifest.yaml
index 60efa00..2e7fd9b 100644
--- a/manifest.yaml
+++ b/manifest.yaml
@@ -125,7 +125,7 @@ spec:
               name: postgresql-credentials
               key: password
         - name: PORT
-          value: 8080
+          value: "8080"
         ports:
         - containerPort: 8080
       volumes:
-- 
GitLab