Skip to content

Commit 3bc9d2d

Browse files
committed
fix(webui): mount espresso palette config
1 parent d7911f4 commit 3bc9d2d

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎backends/advanced/docker-compose.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ services:
230230
volumes:
231231
- ./webui/src:/app/src
232232
- ./webui/public:/app/public
233+
- ./webui/tailwind.config.js:/app/tailwind.config.js:ro
234+
- ./webui/chronicle-espresso-preset.js:/app/chronicle-espresso-preset.js:ro
233235
depends_on:
234236
chronicle-backend:
235237
condition: service_healthy

‎tests/unit/test_docker_image_versioning.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,14 @@ def test_webui_dev_is_built_locally(self):
219219
assert "build" in webui
220220
assert "image" not in webui
221221

222+
def test_webui_dev_mounts_tailwind_palette_configuration(self):
223+
volumes = self.COMPOSE["services"]["webui-dev"]["volumes"]
224+
assert "./webui/tailwind.config.js:/app/tailwind.config.js:ro" in volumes
225+
assert (
226+
"./webui/chronicle-espresso-preset.js:"
227+
"/app/chronicle-espresso-preset.js:ro"
228+
) in volumes
229+
222230
def test_backend_services_share_same_image_name(self):
223231
"""chronicle-backend, workers, and annotation-cron should use the same image."""
224232
backend_img = _image_for(self.COMPOSE, "chronicle-backend")

0 commit comments

Comments
 (0)