Update Dockerfile (#3911)

This commit is contained in:
DieselTech 2025-07-10 11:45:35 -04:00 committed by GitHub
parent ef2640b5fc
commit d543ce0dde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
#This Dockerfile creates a build for all architectures #This Dockerfile creates a build for all architectures
#Image that copies in the files and passes them to the main image #Image that copies in the files and passes them to the main image
FROM ubuntu:focal AS copytask FROM ubuntu:noble AS copytask
ARG TARGETPLATFORM ARG TARGETPLATFORM
@ -16,7 +16,7 @@ RUN /copy_runtime.sh
RUN chmod +x /Kavita/Kavita RUN chmod +x /Kavita/Kavita
#Production image #Production image
FROM ubuntu:focal FROM ubuntu:noble
COPY --from=copytask /Kavita /kavita COPY --from=copytask /Kavita /kavita
COPY --from=copytask /files/wwwroot /kavita/wwwroot COPY --from=copytask /files/wwwroot /kavita/wwwroot
@ -24,7 +24,7 @@ COPY API/config/appsettings.json /tmp/config/appsettings.json
#Installs program dependencies #Installs program dependencies
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y libicu-dev libssl1.1 libgdiplus curl \ && apt-get install -y libicu-dev libgdiplus curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh