dcbot/build/docker/dcbot-migrations/Dockerfile

14 lines
214 B
Docker

FROM alpine:3.18
WORKDIR /dcbot
RUN apk --no-cache add curl
RUN curl -fsSL \
https://raw.githubusercontent.com/pressly/goose/master/install.sh |\
sh -s v3.15.1
COPY ./migrations .
ENTRYPOINT ["goose"]