Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/Set permission on entrypoint.sh in Dockerfile (#3903)

JN Brisset0403117e8cbf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c9ea9ad933..23fcb46dee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### Added
+
+- Set the permissions (`chmod 0700`) on `entrypoint.sh` in the `Dockerfile`
+
### Changed
- Disabled the text hover effect in the chart of the holdings tab on the home page (experimental)
diff --git a/Dockerfile b/Dockerfile
index e6c38f2736..0e5c0d275d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -61,6 +61,7 @@ RUN apt-get update && apt-get install -y --no-install-suggests \
COPY --chown=node:node --from=builder /ghostfolio/dist/apps /ghostfolio/apps
COPY --chown=node:node ./docker/entrypoint.sh /ghostfolio/entrypoint.sh
+RUN chmod 0700 /ghostfolio/entrypoint.sh
WORKDIR /ghostfolio/apps/api
EXPOSE ${PORT:-3333}
USER node