mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Added tini
as init system to improve signal handling in Docker container (#6892)
This commit is contained in:
parent
8244ff332d
commit
354491e023
@ -48,6 +48,7 @@ RUN \
|
||||
git-fast-import \
|
||||
jpeg-dev \
|
||||
openssh \
|
||||
tini \
|
||||
zlib-dev \
|
||||
&& \
|
||||
apk add --no-cache --virtual .build \
|
||||
@ -96,5 +97,5 @@ WORKDIR /docs
|
||||
EXPOSE 8000
|
||||
|
||||
# Start development server by default
|
||||
ENTRYPOINT ["mkdocs"]
|
||||
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
|
||||
ENTRYPOINT ["/sbin/tini", "--", "mkdocs"]
|
||||
CMD [ "serve", "--dev-addr=0.0.0.0:8000"]
|
||||
|
Loading…
Reference in New Issue
Block a user