Browse Source

fix: Added changelog and fixed dockerfile to copy whole directory

pull/5821/head
HydrallHarsh 2 weeks ago
parent
commit
1c8a31fd77
  1. 1
      CHANGELOG.md
  2. 4
      Dockerfile
  3. 2
      apps/api/src/dependencies.ts

1
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

4
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

2
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';

Loading…
Cancel
Save