From 76dce27cf2d8ee9d195bbd2e5b0f426dc2258640 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Fri, 19 Aug 2022 12:08:32 +0530 Subject: [PATCH] fix assets mount (#880) * fix: mount assets on workers fix #844 * fix: add codespell allowed word ro --- .pre-commit-config.yaml | 3 +++ compose.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 709a9d78..3c2101d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,9 @@ repos: rev: v2.2.0 hooks: - id: codespell + args: + - -L + - "ro" - repo: local hooks: diff --git a/compose.yaml b/compose.yaml index 2916c38e..95ea1f40 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,6 +8,7 @@ x-backend-defaults: &backend_defaults image: frappe/frappe-worker:${FRAPPE_VERSION:?No Frappe version set} volumes: - sites:/home/frappe/frappe-bench/sites + - assets:/home/frappe/frappe-bench/sites/assets services: configurator: