Commit 74e7f2a6 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Updates for Kubernetes environment

parent 3f3362c8
......@@ -33,7 +33,6 @@ RUN chown www-data:www-data /usr/src/app \
COPY ./ /usr/src/app/src
RUN python /usr/src/app/src/manage.py collectstatic --noinput --settings=CLMSVault.settings.base
ARG CI_COMMIT_SHA
ENV GIT_SHA $CI_COMMIT_SHA
......
#!/bin/sh
cd src
python manage.py collectstatic --noinput --settings=CLMSVault.settings.base
cp -r ../services/nginx/* /nginx-shared
python manage.py migrate
gunicorn -c ../services/gunicorn/gunicorn_conf.py CLMSVault.wsgi:application
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment