From 6c052e947571c6151e128edc056ae449c02d440e Mon Sep 17 00:00:00 2001 From: "stojanovskis1@icloud.com" Date: Mon, 23 Jan 2023 13:11:38 +0100 Subject: [PATCH] added production.ini to APP_DIR in Dockerfile --- images/ckan/2.7/Dockerfile | 2 +- images/ckan/2.8/Dockerfile | 2 +- images/ckan/2.9/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/ckan/2.7/Dockerfile b/images/ckan/2.7/Dockerfile index 4f2fc2d..5974c69 100644 --- a/images/ckan/2.7/Dockerfile +++ b/images/ckan/2.7/Dockerfile @@ -158,7 +158,7 @@ RUN pip install -e /srv/app/src/ckan && \ echo "UTC" > /etc/timezone && \ # Generate CKAN config paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \ - paster --plugin=ckan config-tool ${APP_DIR} "beaker.session.secret = " && \ + paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Set the default level for extensions to INFO paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \ diff --git a/images/ckan/2.8/Dockerfile b/images/ckan/2.8/Dockerfile index 061173d..ea24952 100644 --- a/images/ckan/2.8/Dockerfile +++ b/images/ckan/2.8/Dockerfile @@ -151,7 +151,7 @@ RUN pip install -e /srv/app/src/ckan && \ echo "UTC" > /etc/timezone && \ # Generate CKAN config paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \ - paster --plugin=ckan config-tool ${APP_DIR} "beaker.session.secret = " && \ + paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Set the default level for extensions to INFO paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \ diff --git a/images/ckan/2.9/Dockerfile b/images/ckan/2.9/Dockerfile index 7a3679b..aba8ebb 100644 --- a/images/ckan/2.9/Dockerfile +++ b/images/ckan/2.9/Dockerfile @@ -162,7 +162,7 @@ RUN pip install -e /srv/app/src/ckan && \ echo "UTC" > /etc/timezone && \ # Generate CKAN config ckan generate config ${APP_DIR}/production.ini && \ - ckan config-tool ${APP_DIR} "beaker.session.secret = " && \ + ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ # Configure plugins ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Create the data directory