Use my comment style
This commit is contained in:
parent
de7426fa2a
commit
1d23caca78
@ -14,16 +14,16 @@ COPY copy_runtime.sh /copy_runtime.sh
|
|||||||
RUN /copy_runtime.sh
|
RUN /copy_runtime.sh
|
||||||
|
|
||||||
# Production image
|
# Production image
|
||||||
FROM alpine:3.16.2 AS copytask
|
FROM alpine:3.16.2
|
||||||
# FROM ubuntu:focal
|
# FROM ubuntu:focal
|
||||||
|
|
||||||
COPY --from=copytask /Kavita /kavita
|
COPY --from=copytask /Kavita /kavita
|
||||||
COPY --from=copytask /files/wwwroot /kavita/wwwroot
|
COPY --from=copytask /files/wwwroot /kavita/wwwroot
|
||||||
|
|
||||||
# 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 libssl1.1 libgdiplus curl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
# && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# in /etc/apk/repositories
|
# in /etc/apk/repositories
|
||||||
# enable 3.16/community repo
|
# enable 3.16/community repo
|
||||||
@ -42,7 +42,5 @@ EXPOSE 5000
|
|||||||
|
|
||||||
WORKDIR /kavita
|
WORKDIR /kavita
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=3 CMD curl --fail http://localhost:5000 || exit 1
|
ENTRYPOINT [ "/bin/ash" ]
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/bash" ]
|
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user