chore(migrations): update prod Dockerfile
This commit is contained in:
parent
9986345ef4
commit
75f3cfaddb
|
@ -4,9 +4,11 @@ WORKDIR /dcbot
|
|||
|
||||
RUN apk --no-cache add curl
|
||||
|
||||
RUN curl -fsSL \
|
||||
https://raw.githubusercontent.com/pressly/goose/master/install.sh |\
|
||||
sh -s v3.20.0
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
RUN curl --silent --show-error --location --fail --location --output /usr/bin/goose "https://github.com/pressly/goose/releases/download/v3.20.0/goose_${TARGETOS}_${TARGETARCH}" && \
|
||||
chmod +x /usr/bin/goose
|
||||
|
||||
COPY ./migrations .
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user