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 _output/*.tar.gz /files/
|
||||||
COPY UI/Web/dist/browser /files/wwwroot
|
COPY UI/Web/dist/browser /files/wwwroot
|
||||||
COPY copy_runtime.sh /copy_runtime.sh
|
COPY copy_runtime.sh /copy_runtime.sh
|
||||||
|
|
||||||
|
RUN chmod +x /copy_runtime.sh
|
||||||
RUN /copy_runtime.sh
|
RUN /copy_runtime.sh
|
||||||
RUN chmod +x /Kavita/Kavita
|
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
|
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
|
||||||
# Enable detection of running in a container
|
ENV DOTNET_RUNNING_IN_CONTAINER=true
|
||||||
DOTNET_RUNNING_IN_CONTAINER=true
|
|
||||||
# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20)
|
# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20)
|
||||||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue