Commit 266b044b authored by Giannis Tsapelas's avatar Giannis Tsapelas
Browse files

updates to prod

parent 602d4d4d
Pipeline #4718 failed with stages
in 26 seconds
# pull official base image
FROM python:3.8-alpine
# FROM python:3.8-alpine
FROM python:3.7-alpine3.13
# set work directory
WORKDIR /usr/src/cybele_advanced_query_builder
......
......@@ -42,8 +42,8 @@ done
exec "$@"
echo "Copying new Keycloak client and views"
cp -rf client.py /usr/local/lib/python3.8/site-packages/keycloak/
cp -rf views.py /usr/local/lib/python3.8/site-packages/django_keycloak/
cp -rf client.py /usr/local/lib/python3.7/site-packages/keycloak/
cp -rf views.py /usr/local/lib/python3.7/site-packages/django_keycloak/
echo "Migrating..."
python manage.py migrate --noinput
......@@ -51,6 +51,9 @@ python manage.py migrate --noinput
# echo "Importing initial data"
# python manage.py loaddata datasets.json
echo "Collecting the datasets..."
python manage.py collect_datasets_and_metadata
echo "Setting up Keycloak"
python manage.py setup_keycloak
......
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