revert binary file location change in docker image

This commit is contained in:
Fontinalis
2021-09-27 10:13:33 +02:00
parent 10a92d0cc8
commit 1668f8e6a0
+5 -3
View File
@@ -2,8 +2,10 @@ FROM alpine:3.13
RUN apk add --no-cache ca-certificates
COPY migrate /usr/bin/migrate
RUN ln -s /usr/bin/migrate /migrate
COPY migrate /usr/local/bin/migrate
RUN ln -s /usr/local/bin/migrate /usr/bin/migrate
RUN ln -s /usr/local/bin/migrate /migrate
ENTRYPOINT ["migrate"]
CMD ["--help"]
CMD ["--help"]