Browse Source
Enable tini from docker compose instead of adding it to dockerfile
pull/3232/head
Sonlis
1 year ago
No known key found for this signature in database
GPG Key ID: 36B6093EBDC61B1
3 changed files with
2 additions and
7 deletions
-
Dockerfile
-
docker/docker-compose.build.yml
-
docker/docker-compose.yml
|
@ -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: |
|
|