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)
* [Extending the base images](#extending-the-base-images)
* [Applying patches](#applying-patches)
* [Debugging with pdb](#pdb)
* [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

View File

@ -45,7 +45,8 @@ RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
# to get them mounted in this image at runtime
# 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
RUN for d in $APP_DIR/patches/*; do \