diff --git a/sqlx/Dockerfile b/sqlx/Dockerfile index 7115911..3c9360d 100644 --- a/sqlx/Dockerfile +++ b/sqlx/Dockerfile @@ -10,4 +10,5 @@ RUN cargo install sqlx-cli \ FROM alpine COPY --from=build /usr/local/cargo/bin/sqlx /usr/local/bin/sqlx +ENV MIGRATIONS=/migrations CMD sqlx migrate run --source $MIGRATIONS