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