Skip to content

Commit e3fd500

Browse files
authored
fix: correct server Docker cache path in docs (#489)
Update the Docker examples to mount the server cache volume at /app/cache so the published docs match the image configuration and preserve cached results correctly.
1 parent 16a564b commit e3fd500

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ The fastest way to get started is using the `create-ifc-lite` CLI:
160160
docker run -p 3001:8080 ghcr.io/louistrue/ifc-lite-server
161161

162162
# With persistent cache
163-
docker run -p 3001:8080 -v ifc-cache:/app/.cache ghcr.io/louistrue/ifc-lite-server
163+
docker run -p 3001:8080 -v ifc-cache:/app/cache ghcr.io/louistrue/ifc-lite-server
164164

165165
# With environment configuration
166166
docker run -p 3001:8080 \

docs/guide/server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ flowchart TB
7676

7777
```bash
7878
docker run -p 3001:8080 \
79-
-v ifc-cache:/app/.cache \
79+
-v ifc-cache:/app/cache \
8080
ghcr.io/louistrue/ifc-lite-server
8181
```
8282

@@ -485,7 +485,7 @@ services:
485485
- WORKER_THREADS=8
486486
- CACHE_MAX_AGE_DAYS=30
487487
volumes:
488-
- ifc-cache:/app/.cache
488+
- ifc-cache:/app/cache
489489

490490
volumes:
491491
ifc-cache:

0 commit comments

Comments
 (0)