mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Dockerfile: use tini to reap zombie processes
This commit is contained in:
parent
4358ff8ead
commit
a304b22623
@ -79,7 +79,7 @@ FROM node:18-buster-slim
|
|||||||
# Install pgrep for managing gvisor processes.
|
# Install pgrep for managing gvisor processes.
|
||||||
RUN \
|
RUN \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends libexpat1 libsqlite3-0 procps && \
|
apt-get install -y --no-install-recommends libexpat1 libsqlite3-0 procps tini && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Keep all storage user may want to persist in a distinct directory
|
# Keep all storage user may want to persist in a distinct directory
|
||||||
@ -151,4 +151,5 @@ ENV \
|
|||||||
|
|
||||||
EXPOSE 8484
|
EXPOSE 8484
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-s", "--"]
|
||||||
CMD ["./sandbox/run.sh"]
|
CMD ["./sandbox/run.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user