Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ COPY --from=builder-api /opt/out .
COPY --from=builder-mt /opt/out .
COPY conf conf
COPY Docker/run-targoman-dev.sh .
COPY migrate-dev.sh .
COPY migrations .
COPY SwaggerUI .
COPY Docker/migrate-dev.sh .
COPY migrations migrations
COPY SwaggerUI SwaggerUI

ENTRYPOINT [ "/targoman/run-targoman-dev.sh" ]
4 changes: 4 additions & 0 deletions Docker/migrate-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

export LD_LIBRARY_PATH=lib:lib64
./bin/migrationTool -c conf/migration.conf --dbprefix dev_ -r dev $@
4 changes: 4 additions & 0 deletions Docker/migrate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

export LD_LIBRARY_PATH=lib:lib64
./bin/migrationTool -c conf/migration.conf -r prod $@