diff --git a/Dockerfile b/Dockerfile index 4cb554a50..6cb6ddabc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ RUN apk add --no-cache ca-certificates COPY --from=builder /usr/local/lib/libseabolt* /lib/ -COPY --from=builder /go/src/github.com/golang-migrate/migrate/build/migrate.linux-386 /migrate +COPY --from=builder /go/src/github.com/golang-migrate/migrate/build/migrate.linux-386 /usr/local/bin/migrate +RUN ln -s /usr/local/bin/migrate /migrate -ENTRYPOINT ["/migrate"] +ENTRYPOINT ["migrate"] CMD ["--help"]