more changes

This commit is contained in:
Brett 2022-07-19 16:09:55 +02:00
parent b340d058c3
commit f44c08a162
2 changed files with 9 additions and 1 deletions

View File

@ -8,6 +8,7 @@
* [CKAN images](#ckan-images) * [CKAN images](#ckan-images)
* [Extending the base images](#extending-the-base-images) * [Extending the base images](#extending-the-base-images)
* [Applying patches](#applying-patches) * [Applying patches](#applying-patches)
* [Debugging with pdb](#pdb)
* [Known Issues](#known-issues) * [Known Issues](#known-issues)
@ -138,6 +139,12 @@ ckan
``` ```
## pdb
Debug with pdb (example) - Interact with `docker attach $(docker container ls -qf name=ckan)`
command: `python -m pdb /usr/lib/ckan/venv/bin/ckan --config /etc/ckan/production.ini run --host 0.0.0.0 --passthrough-errors`
tty: true
stdin_open: true
## Known Issues ## Known Issues

View File

@ -46,6 +46,7 @@ RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
# Apply any patches needed to CKAN core or any of the built extensions (not the # Apply any patches needed to CKAN core or any of the built extensions (not the
# runtime mounted ones) # runtime mounted ones)
COPY patches ${APP_DIR}/patches COPY patches ${APP_DIR}/patches
RUN for d in $APP_DIR/patches/*; do \ RUN for d in $APP_DIR/patches/*; do \