# This Dockerfile builds kavita in alpine
FROM alpine:3.16.2
# Install necessary packages
RUN apk add git \ # download
dotnet6-sdk npm # build
# Clone repo
#RUN git clone https://github.com/Kareadita/Kavita.git
RUN git clone https://github.com/RealStickman/Kavita.git && \
cd Kavita && \
git checkout rs_alpine
ENTRYPOINT [ "/bin/ash" ]
CMD [ "build.sh linux-musl-x64" ] # call build script here