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
|
||||
**/yarn-debug.log*
|
||||
**/yarn-error.log*
|
||||
/fluxer_app/src/data/emojis.json
|
||||
# Don't block locale files - they're needed for the build
|
||||
#!/fluxer_app/src/locales/*/messages.js
|
||||
# Don't block emojis.json and locale files - they're needed for the build
|
||||
#!/fluxer_app/src/data/emojis.json
|
||||
#/fluxer_app/src/locales/*/messages.js
|
||||
dev
|
||||
!fluxer_app/dist
|
||||
!fluxer_app/dist/**
|
||||
!fluxer_devops/cassandra/migrations
|
||||
# Allow build scripts and locale files
|
||||
# Explicitly allow critical build data
|
||||
!fluxer_app/src/data/
|
||||
!fluxer_app/src/locales/
|
||||
!**/scripts/
|
||||
!**/locales/
|
||||
|
||||
Reference in New Issue
Block a user