Docker fix (#3508)
This commit is contained in:
parent
49b47a98fc
commit
541607cc5d
1 changed files with 7 additions and 5 deletions
12
Dockerfile
12
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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue