diff --git a/CHANGELOG.md b/CHANGELOG.md index 2afe206bb..290257c26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Set the exposed port as an environment variable (`PORT`) in `Dockerfile` - Upgraded `chart.js` from version `4.0.1` to `4.2.0` - Upgraded `prettier` from version `2.8.1` to `2.8.4` diff --git a/Dockerfile b/Dockerfile index 33ef2d95f..cdebe275d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,5 +57,5 @@ RUN apt update && apt install -y \ COPY --from=builder /ghostfolio/dist/apps /ghostfolio/apps WORKDIR /ghostfolio/apps/api -EXPOSE 3333 +EXPOSE ${PORT:-3333} CMD [ "yarn", "start:prod" ]