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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
2 deletions
-
CHANGELOG.md
-
Dockerfile
|
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### 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 `@simplewebauthn/browser` and `@simplewebauthn/server` from version `13.3` to `14.0` |
|
|
- Upgraded `nestjs` from version `11.2.3` to `11.2.6` |
|
|
- Upgraded `nestjs` from version `11.2.3` to `11.2.6` |
|
|
|
|
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ COPY ./package.json package.json |
|
|
COPY ./package-lock.json package-lock.json |
|
|
COPY ./package-lock.json package-lock.json |
|
|
COPY ./prisma/schema.prisma prisma/ |
|
|
COPY ./prisma/schema.prisma prisma/ |
|
|
|
|
|
|
|
|
RUN npm install |
|
|
RUN npm ci |
|
|
|
|
|
|
|
|
COPY ./apps apps/ |
|
|
COPY ./apps apps/ |
|
|
COPY ./libs libs/ |
|
|
COPY ./libs libs/ |
|
|
@ -39,7 +39,7 @@ WORKDIR /ghostfolio/dist/apps/api |
|
|
# package-lock.json needs to be used to ensure the same versions |
|
|
# package-lock.json needs to be used to ensure the same versions |
|
|
COPY ./package-lock.json /ghostfolio/dist/apps/api/ |
|
|
COPY ./package-lock.json /ghostfolio/dist/apps/api/ |
|
|
|
|
|
|
|
|
RUN npm install |
|
|
RUN npm ci |
|
|
COPY .config /ghostfolio/dist/apps/api/.config/ |
|
|
COPY .config /ghostfolio/dist/apps/api/.config/ |
|
|
COPY prisma /ghostfolio/dist/apps/api/prisma/ |
|
|
COPY prisma /ghostfolio/dist/apps/api/prisma/ |
|
|
|
|
|
|
|
|
|