Browse Source

Enable tini from docker compose instead of adding it to dockerfile

pull/3232/head
Sonlis 1 year ago
parent
commit
6773159241
No known key found for this signature in database GPG Key ID: 36B6093EBDC61B1
  1. 7
      Dockerfile
  2. 1
      docker/docker-compose.build.yml
  3. 1
      docker/docker-compose.yml

7
Dockerfile

@ -56,13 +56,6 @@ RUN apt update && apt install -y \
openssl \
&& 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 ./docker/entrypoint.sh /ghostfolio/entrypoint.sh
WORKDIR /ghostfolio/apps/api

1
docker/docker-compose.build.yml

@ -2,6 +2,7 @@ version: '3.9'
services:
ghostfolio:
build: ../
init: true
env_file:
- ../.env
environment:

1
docker/docker-compose.yml

@ -2,6 +2,7 @@ version: '3.9'
services:
ghostfolio:
image: ghostfolio/ghostfolio:latest
init: true
env_file:
- ../.env
environment:

Loading…
Cancel
Save