[Docker] Make Kavita executable at Build time instead of Runtime (#2228)
* Fixes #1889 * also make entrypoint executable
This commit is contained in:
parent
d4919463ca
commit
2984cbe973
2 changed files with 3 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ COPY _output/*.tar.gz /files/
|
|||
COPY UI/Web/dist /files/wwwroot
|
||||
COPY copy_runtime.sh /copy_runtime.sh
|
||||
RUN /copy_runtime.sh
|
||||
RUN chmod +x /Kavita/Kavita
|
||||
|
||||
#Production image
|
||||
FROM ubuntu:focal
|
||||
|
|
@ -25,6 +26,7 @@ RUN apt-get update \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue