Rename folder "/Kavita" to "/kavita" for proper config location

This commit is contained in:
RealStickman 2022-09-01 20:06:43 +02:00
parent 9410788780
commit 2336b07b9c

View File

@ -10,6 +10,9 @@ RUN wget https://github.com/Kareadita/Kavita/releases/download/v${KAVITA_VERSION
# extract release # extract release
RUN tar xf kavita-linux-musl-x64.tar.gz RUN tar xf kavita-linux-musl-x64.tar.gz
# rename folder to lowercase
RUN mv /Kavita /kavita
# remove archive # remove archive
RUN rm kavita-linux-musl-x64.tar.gz 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 wget https://raw.githubusercontent.com/RealStickman/Kavita/rs_alpine/entrypoint.sh -O /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
# create config directory
RUN mkdir -p /kavita/config
EXPOSE 5000/tcp EXPOSE 5000/tcp
# change working directory to "/Kavita" # change working directory to "/kavita"
WORKDIR /Kavita WORKDIR /kavita
ENTRYPOINT [ "/bin/ash" ] ENTRYPOINT [ "/bin/ash" ]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]