From a01fbe2386a8c86f5ee9087969ea7dbca3884072 Mon Sep 17 00:00:00 2001 From: pablomendezroyo Date: Mon, 27 Mar 2023 16:05:14 +0200 Subject: [PATCH] relocate migrations copy --- flyway/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyway/Dockerfile b/flyway/Dockerfile index 8be0c0a..41b39cd 100644 --- a/flyway/Dockerfile +++ b/flyway/Dockerfile @@ -18,7 +18,7 @@ RUN wget -q https://github.com/ConsenSys/web3signer/archive/refs/tags/${UPSTREAM FROM flyway/flyway:9.16.1-alpine ARG UPSTREAM_VERSION RUN apk update && apk add postgresql-client -COPY --from=postgres-migrations /usr/src/app/web3signer-${UPSTREAM_VERSION}/slashing-protection/src/main/resources/migrations/postgresql/* /flyway/sql/ COPY entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh && rm -rf /flyway/sql/* +COPY --from=postgres-migrations /usr/src/app/web3signer-${UPSTREAM_VERSION}/slashing-protection/src/main/resources/migrations/postgresql/* /flyway/sql/ ENTRYPOINT ["entrypoint.sh"]