mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
fix(deps): bump sharp (#5509)
* fix(deps): bump sharp * fixed sharp dependencies * chore: use date tag --------- Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
parent
1e99ba8167
commit
02d55644e5
@ -1,9 +1,13 @@
|
|||||||
# dev build
|
# dev build
|
||||||
FROM ghcr.io/immich-app/base-server-dev:20231201@sha256:4701c0c5920c78e73040dd2b74d22042ffce393f1a9d3453d90a0ecf81ff8649 as dev
|
FROM ghcr.io/immich-app/base-server-dev:20231207 as dev
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY server/package.json server/package-lock.json ./
|
COPY server/package.json server/package-lock.json ./
|
||||||
RUN npm ci
|
RUN npm ci && \
|
||||||
|
# sharp-linux-x64 and sharp-linux-arm64 are the only ones we need
|
||||||
|
# they're marked as optional dependencies, so we need to copy them manually after pruning
|
||||||
|
rm -rf node_modules/@img/sharp-libvips* && \
|
||||||
|
rm -rf node_modules/@img/sharp-linuxmusl-x64
|
||||||
COPY server .
|
COPY server .
|
||||||
|
|
||||||
|
|
||||||
@ -11,6 +15,7 @@ FROM dev AS prod
|
|||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm prune --omit=dev --omit=optional
|
RUN npm prune --omit=dev --omit=optional
|
||||||
|
COPY --from=dev /usr/src/app/node_modules/@img ./node_modules/@img
|
||||||
|
|
||||||
# web build
|
# web build
|
||||||
FROM node:iron-alpine3.18 as web
|
FROM node:iron-alpine3.18 as web
|
||||||
@ -23,7 +28,7 @@ RUN npm run build
|
|||||||
|
|
||||||
|
|
||||||
# prod build
|
# prod build
|
||||||
FROM ghcr.io/immich-app/base-server-prod:20231201@sha256:b8e86cf4c3cad872f54bab25a83f7503480049eea5c0ae36a8b8460b13cad3b5
|
FROM ghcr.io/immich-app/base-server-prod:20231207
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
1051
server/package-lock.json
generated
1051
server/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -70,12 +70,13 @@
|
|||||||
"luxon": "^3.4.2",
|
"luxon": "^3.4.2",
|
||||||
"mv": "^2.1.1",
|
"mv": "^2.1.1",
|
||||||
"nest-commander": "^3.11.1",
|
"nest-commander": "^3.11.1",
|
||||||
|
"node-addon-api": "^7.0.0",
|
||||||
"openid-client": "^5.4.3",
|
"openid-client": "^5.4.3",
|
||||||
"pg": "^8.11.3",
|
"pg": "^8.11.3",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"sharp": "^0.32.6",
|
"sharp": "^0.33.0",
|
||||||
"thumbhash": "^0.1.1",
|
"thumbhash": "^0.1.1",
|
||||||
"typeorm": "^0.3.17",
|
"typeorm": "^0.3.17",
|
||||||
"ua-parser-js": "^1.0.35"
|
"ua-parser-js": "^1.0.35"
|
||||||
|
Loading…
Reference in New Issue
Block a user