FROM golang:1.21-bullseye
RUN go install github.com/jackc/tern@latest
COPY . /app/migration/
WORKDIR /app/migration
CMD ./wait-for-database.sh