Skip to content

Commit d9f4367

Browse files
Superset Devclaude
andcommitted
fix(country-map): re-include country-maps GeoJSON in Docker build context
.dockerignore excludes superset/static/assets/ wholesale because the rest of that directory is webpack-generated at image build time. Our country-map plugin's GeoJSON outputs are committed (not webpack- generated), so they were getting silently dropped from every Docker build — ephemeral PR previews 404'd on every map file fetch. Add a `!` re-include for the country-maps subdirectory so the assets ride along while leaving the rest of the webpack-managed exclusion intact. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 11f6109 commit d9f4367

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ superset-frontend/cypress-base/
4343
superset-frontend/coverage/
4444
superset-frontend/.temp_cache/
4545
superset/static/assets/
46+
# …but ship the committed Country Map GeoJSON outputs, which live under
47+
# this otherwise webpack-managed path. Without this re-include the
48+
# country-map plugin gets a 404 fetching every map file in dockerized
49+
# deployments (including ephemeral PR previews).
50+
!superset/static/assets/country-maps/
4651
superset-websocket/dist/
4752
venv
4853
.venv

0 commit comments

Comments
 (0)