diff --git a/CHANGELOG.md b/CHANGELOG.md index 7504bddd0..a42a8413b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 2.66.2 - 2024-03-23 +## 2.66.3 - 2024-03-23 ### Added - Extended the content of the _SaaS_ and _Self-Hosting_ sections by the backup strategy on the Frequently Asked Questions (FAQ) page -- Set up `Tini` to avoid zombie processes and perform signal forwarding in docker image - Added an index for `dataSource` / `symbol` to the market data database table ### Changed diff --git a/Dockerfile b/Dockerfile index 23634e0b7..1a557b8c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,14 +56,7 @@ 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 /entrypoint.sh +WORKDIR /ghostfolio/apps/api EXPOSE ${PORT:-3333} -CMD [ "/entrypoint.sh" ] +CMD [ "yarn", "start:production" ] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh deleted file mode 100755 index 71cf6f2dc..000000000 --- a/docker/entrypoint.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -ex - -echo "Running database migrations" -npx prisma migrate deploy - -echo "Seeding the database" -npx prisma db seed - -echo "Starting the server" -node main diff --git a/package.json b/package.json index 9faa530c4..4b4c79bfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "2.66.2", + "version": "2.66.3", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio",