mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-04-19 04:43:56 +02:00
feat: Add tini to Docker image (#657)
* feat: Add tini * Add tini to reap zombie processes * https://github.com/krallin/tini/issues/8 * Update changelog
This commit is contained in:
parent
50b1e8edda
commit
cb11398e7f
2 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Changed
|
### Changed
|
||||||
- Bumped dependencies
|
- Bumped dependencies
|
||||||
|
- Add tini to Docker image to reap zombie processes
|
||||||
|
|
||||||
## [2.0.2] - 2022-05-14
|
## [2.0.2] - 2022-05-14
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -2,7 +2,7 @@ FROM node:16.13.0 AS base
|
||||||
|
|
||||||
# Install ffmpeg
|
# Install ffmpeg
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y ffmpeg && \
|
apt-get install -y ffmpeg tini && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
@ -34,4 +34,5 @@ ENV NODE_ENV production
|
||||||
ENV COMMIT_HASH $COMMIT_HASH
|
ENV COMMIT_HASH $COMMIT_HASH
|
||||||
ENV BUILD_DATE $BUILD_DATE
|
ENV BUILD_DATE $BUILD_DATE
|
||||||
|
|
||||||
CMD ["yarn", "start"]
|
CMD ["tini", "--", "yarn", "start"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue