Bugfix/Enable tini in docker compose files instead of adding it to the Dockerfile (#3232)
* Enable tini in docker compose files instead of adding it to the Dockerfile * Update changelog
This commit is contained in:
parent
6f3cce1c5f
commit
ca7717f9c5
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Set up the language localization for Chinese (`zh`)
|
- Set up the language localization for Chinese (`zh`)
|
||||||
|
- Added `init: true` to the `docker-compose` files (`docker-compose.yml` and `docker-compose.build.yml`) to avoid zombie processes
|
||||||
- Set up _Webpack Bundle Analyzer_
|
- Set up _Webpack Bundle Analyzer_
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
@ -21,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed the duplicated tags in the position detail dialog
|
- Fixed the duplicated tags in the position detail dialog
|
||||||
|
- Removed `Tini` from the docker image
|
||||||
|
|
||||||
## 2.69.0 - 2024-03-30
|
## 2.69.0 - 2024-03-30
|
||||||
|
|
||||||
|
@ -56,13 +56,6 @@ RUN apt update && apt install -y \
|
|||||||
openssl \
|
openssl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Add tini, which is an init process that handles signaling within the container
|
|
||||||
# and with the host. See https://github.com/krallin/tini
|
|
||||||
ENV TINI_VERSION v0.19.0
|
|
||||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
|
||||||
RUN chmod +x /tini
|
|
||||||
ENTRYPOINT ["/tini", "--"]
|
|
||||||
|
|
||||||
COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps
|
COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps
|
||||||
COPY ./docker/entrypoint.sh /ghostfolio/entrypoint.sh
|
COPY ./docker/entrypoint.sh /ghostfolio/entrypoint.sh
|
||||||
WORKDIR /ghostfolio/apps/api
|
WORKDIR /ghostfolio/apps/api
|
||||||
|
@ -2,6 +2,7 @@ version: '3.9'
|
|||||||
services:
|
services:
|
||||||
ghostfolio:
|
ghostfolio:
|
||||||
build: ../
|
build: ../
|
||||||
|
init: true
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
environment:
|
environment:
|
||||||
|
@ -2,6 +2,7 @@ version: '3.9'
|
|||||||
services:
|
services:
|
||||||
ghostfolio:
|
ghostfolio:
|
||||||
image: ghostfolio/ghostfolio:latest
|
image: ghostfolio/ghostfolio:latest
|
||||||
|
init: true
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- ../.env
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user