diff --git a/Dockerfile b/Dockerfile index 98ba311ed..bfa12805e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ RUN mkdir /files COPY _output/*.tar.gz /files/ COPY UI/Web/dist/browser /files/wwwroot COPY copy_runtime.sh /copy_runtime.sh + +RUN chmod +x /copy_runtime.sh RUN /copy_runtime.sh RUN chmod +x /Kavita/Kavita @@ -34,11 +36,11 @@ WORKDIR /kavita HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=3 CMD curl -fsS http://localhost:5000/api/health || exit 1 -ENV \ - # Enable detection of running in a container - DOTNET_RUNNING_IN_CONTAINER=true - # Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20) - DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true +# Enable detection of running in a container +ENV DOTNET_RUNNING_IN_CONTAINER=true + +# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20) +ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true ENTRYPOINT [ "/bin/bash" ] CMD ["/entrypoint.sh"]