diff --git a/CHANGELOG.md b/CHANGELOG.md index 6831e9060..867bfaba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Reverted the explicit configuration of the _Redis_ address family in the job queue module - Improved the language localization for German (`de`) - Upgraded `ioredis` from version `5.6.1` to `5.8.2` +- Migrated Prisma configuration from `prisma.config.ts` to `.config/prisma.ts`. ### Fixed diff --git a/Dockerfile b/Dockerfile index 6ab7e2255..2852f74c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY ./CHANGELOG.md CHANGELOG.md COPY ./LICENSE LICENSE COPY ./package.json package.json COPY ./package-lock.json package-lock.json -COPY ./.config/prisma.ts .config/prisma.ts +COPY ./.config/ .config/ COPY ./prisma/schema.prisma prisma/ RUN npm install @@ -44,7 +44,7 @@ WORKDIR /ghostfolio/dist/apps/api COPY ./package-lock.json /ghostfolio/dist/apps/api/ RUN npm install -COPY ./.config/prisma.ts /ghostfolio/dist/apps/api/.config/ +COPY ./.config /ghostfolio/dist/apps/api/.config/ COPY prisma /ghostfolio/dist/apps/api/prisma/ # Overwrite the generated package.json with the original one to ensure having diff --git a/apps/api/src/dependencies.ts b/apps/api/src/dependencies.ts index cd5409fd4..a7669b12d 100644 --- a/apps/api/src/dependencies.ts +++ b/apps/api/src/dependencies.ts @@ -1,3 +1,3 @@ -// Dependencies required by prisma.config.ts in Docker container +// Dependencies required by .config/ in Docker container import 'dotenv'; import 'dotenv-expand';