diff --git a/Dockerfile b/Dockerfile index a9eafdd7a7..0b4174d096 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ COPY _output/*.tar.gz /files/ COPY UI/Web/dist /files/wwwroot COPY copy_runtime.sh /copy_runtime.sh RUN /copy_runtime.sh +RUN chmod +x /Kavita/Kavita #Production image FROM ubuntu:focal @@ -25,6 +26,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh EXPOSE 5000 diff --git a/entrypoint.sh b/entrypoint.sh index 2f55d5e3a5..798d19fd4c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,11 +27,9 @@ if [ ! -f "/kavita/config/appsettings.json" ]; then fi fi -echo "App setting permissions" +echo "Starting Kavita" echo ls -l "/kavita/config/appsettings.json" -chmod +x Kavita - ./Kavita #if [[ "$PUID" -eq 0 ]]; then