mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-31 14:33:50 -04:00
Update Dockerfile to Respect Timezones again (#3926)
This commit is contained in:
parent
f76ae79a55
commit
6f278ebcdf
@ -23,8 +23,10 @@ COPY --from=copytask /files/wwwroot /kavita/wwwroot
|
||||
COPY API/config/appsettings.json /tmp/config/appsettings.json
|
||||
|
||||
#Installs program dependencies
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libicu-dev libgdiplus curl \
|
||||
&& apt-get install -y libicu-dev libgdiplus curl tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
@ -38,6 +40,8 @@ HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=3 CMD curl
|
||||
|
||||
# Enable detection of running in a container
|
||||
ENV DOTNET_RUNNING_IN_CONTAINER=true
|
||||
# Set the time zone
|
||||
ENV TZ=UTC
|
||||
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user