mirror of
https://github.com/paralus/paralus.git
synced 2026-02-14 17:49:51 +00:00
COPY migration files to docker image
The copied migration files are used to run admindb migration. This is not the best solution however could be used as workaround till we support running migrations using go binary itself.
This commit is contained in:
@@ -11,7 +11,9 @@ LABEL description="Run container"
|
||||
|
||||
COPY --from=build /build/rcloud-base /usr/bin/rcloud-base
|
||||
WORKDIR /usr/bin
|
||||
CMD ./rcloud-base
|
||||
# Copying data for running migrations
|
||||
# TODO: Support rcloud-base binary to run migrations
|
||||
COPY ./persistence/migrations/admindb /data/migrations/admindb
|
||||
|
||||
EXPOSE 10000
|
||||
EXPOSE 11000
|
||||
|
||||
Reference in New Issue
Block a user