Browse Source

Task/use npm ci in Dockerfile (#8039)

* Use npm ci

* Update changelog
pull/8043/head^2
Thomas Kaul 4 days ago
committed by GitHub
parent
commit
75576266bb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      Dockerfile

1
CHANGELOG.md

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Changed the installation of the dependencies from `npm install` to `npm ci` in the `Dockerfile`
- Upgraded `@simplewebauthn/browser` and `@simplewebauthn/server` from version `13.3` to `14.0`
- Upgraded `nestjs` from version `11.2.3` to `11.2.6`

4
Dockerfile

@ -20,7 +20,7 @@ COPY ./package.json package.json
COPY ./package-lock.json package-lock.json
COPY ./prisma/schema.prisma prisma/
RUN npm install
RUN npm ci
COPY ./apps apps/
COPY ./libs libs/
@ -39,7 +39,7 @@ WORKDIR /ghostfolio/dist/apps/api
# package-lock.json needs to be used to ensure the same versions
COPY ./package-lock.json /ghostfolio/dist/apps/api/
RUN npm install
RUN npm ci
COPY .config /ghostfolio/dist/apps/api/.config/
COPY prisma /ghostfolio/dist/apps/api/prisma/

Loading…
Cancel
Save