Commit 3b510ab
fix(docker): remove problematic optional file copy with shell redirect
Docker COPY doesn't support shell redirections like '2>/dev/null || true'.
Instead, create an empty Data directory that can be populated at runtime
or mounted as a volume.
The aircraft database parquet file (~150MB) is not included in the
Docker image. It can be:
1. Mounted as a volume: -v ./server/src/Data:/app/Data
2. Downloaded/generated at runtime by the server
3. Added to the image by placing files in server/src/Data/ before build
This resolves the Docker build error:
ERROR: failed to calculate checksum: '/||': not found
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 0199109 commit 3b510ab
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
0 commit comments