mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-15 23:52:41 +00:00
Attempt migration in release fix
This commit is contained in:
parent
ba1aa00589
commit
667fc9255b
|
@ -87,8 +87,6 @@ RUN sh config/deps.js.sh
|
|||
# Update mime types
|
||||
RUN MIX_ENV=prod mix deps.clean --build mime
|
||||
|
||||
# Include migrations
|
||||
COPY data/current_flavour/repo priv/repo
|
||||
|
||||
# bonfire-app code & assets
|
||||
COPY lib lib
|
||||
|
@ -103,6 +101,12 @@ RUN MIX_ENV=prod mix deps.clean needle_ulid jason poison --build
|
|||
# compile app (needs to be before building assets so it includes Surface hooks & component CSS)
|
||||
RUN MIX_ENV=prod mix compile
|
||||
|
||||
# Include any migrations provided by flavour
|
||||
COPY data/current_flavour/repo priv/repo
|
||||
|
||||
# Copy DB/repo migrations from installed extensions
|
||||
RUN mix bonfire.extension.copy_migrations --force
|
||||
|
||||
# include an archive of the source code
|
||||
COPY LICENSE ./
|
||||
RUN mkdir -p apps/
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
This file was generated by the Surface compiler.
|
||||
*/
|
||||
|
||||
/*
|
||||
This file was generated by the Surface compiler.
|
||||
*/
|
||||
|
||||
|
||||
let PreviewActivity = {
|
||||
isTruncated(element) {
|
||||
|
|
Loading…
Reference in a new issue