diff --git a/alpine.dockerfile b/alpine.dockerfile index 5c9404e..26c5a31 100644 --- a/alpine.dockerfile +++ b/alpine.dockerfile @@ -10,6 +10,9 @@ RUN wget https://github.com/Kareadita/Kavita/releases/download/v${KAVITA_VERSION # extract release RUN tar xf kavita-linux-musl-x64.tar.gz +# rename folder to lowercase +RUN mv /Kavita /kavita + # remove archive RUN rm kavita-linux-musl-x64.tar.gz @@ -28,13 +31,10 @@ RUN apk add \ RUN wget https://raw.githubusercontent.com/RealStickman/Kavita/rs_alpine/entrypoint.sh -O /entrypoint.sh RUN chmod +x /entrypoint.sh -# create config directory -RUN mkdir -p /kavita/config - EXPOSE 5000/tcp -# change working directory to "/Kavita" -WORKDIR /Kavita +# change working directory to "/kavita" +WORKDIR /kavita ENTRYPOINT [ "/bin/ash" ] CMD ["/entrypoint.sh"]