diff --git a/alpine-build.dockerfile b/alpine-build.dockerfile index 8d5300f..7646504 100644 --- a/alpine-build.dockerfile +++ b/alpine-build.dockerfile @@ -3,14 +3,11 @@ FROM alpine:3.16.2 # Install necessary packages -RUN apk add git \ # download - dotnet6-sdk npm # build +RUN apk add git \ + dotnet6-sdk npm -# 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 +# copy download & build script +COPY ["alpine_build.sh","/"] ENTRYPOINT [ "/bin/ash" ] -CMD [ "build.sh linux-musl-x64" ] # call build script here +CMD [ "alpine_build.sh" ] # call build script here