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