fix(docker): allow emoji data and locale files in build
The .dockerignore was blocking critical files needed for frontend build: - fluxer_app/src/data/emojis.json - fluxer_app/src/locales/*/messages.* These files must be included for the app build to succeed.
This commit is contained in:
@@ -37,13 +37,14 @@
|
|||||||
**/Thumbs.db
|
**/Thumbs.db
|
||||||
**/yarn-debug.log*
|
**/yarn-debug.log*
|
||||||
**/yarn-error.log*
|
**/yarn-error.log*
|
||||||
/fluxer_app/src/data/emojis.json
|
# Don't block emojis.json and locale files - they're needed for the build
|
||||||
# Don't block locale files - they're needed for the build
|
#!/fluxer_app/src/data/emojis.json
|
||||||
#!/fluxer_app/src/locales/*/messages.js
|
#/fluxer_app/src/locales/*/messages.js
|
||||||
dev
|
dev
|
||||||
!fluxer_app/dist
|
!fluxer_app/dist
|
||||||
!fluxer_app/dist/**
|
!fluxer_app/dist/**
|
||||||
!fluxer_devops/cassandra/migrations
|
!fluxer_devops/cassandra/migrations
|
||||||
# Allow build scripts and locale files
|
# Explicitly allow critical build data
|
||||||
|
!fluxer_app/src/data/
|
||||||
|
!fluxer_app/src/locales/
|
||||||
!**/scripts/
|
!**/scripts/
|
||||||
!**/locales/
|
|
||||||
|
|||||||
Reference in New Issue
Block a user