From fcd9648e699e88f62fed0204c646afc988c006d3 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Wed, 24 Apr 2024 16:59:01 -0400 Subject: [PATCH] volumes for installed files for faster startup --- docker-compose.dev.yml | 2 ++ docker-compose.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index dc2ecdf9..7d3831aa 100755 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -27,6 +27,8 @@ services: volumes: - ckan_storage:/var/lib/ckan - ./src:/srv/app/src_extensions + - /usr/lib/python3.10/site-packages + - /root/.vscode-server restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"] diff --git a/docker-compose.yml b/docker-compose.yml index 4f004d71..d241a830 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,7 @@ services: condition: service_healthy volumes: - ckan_storage:/var/lib/ckan + - /usr/lib/python3.10/site-packages restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]