chore(migrations): update prod Dockerfile
Some checks failed
ci/woodpecker/push/govulncheck Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/docker Pipeline failed
ci/woodpecker/tag/deployment unknown status

This commit is contained in:
Dawid Wysokiński 2024-05-12 08:23:36 +02:00
parent 9986345ef4
commit 75f3cfaddb
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -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 .