0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

update node images (#2736)

This is required to support raw images as Alpine 3.18 included fixes to imagemagick.

Related: #2156

In addtion, the images have stricter tags and are pinned with a digest. The
manifest list digest can be found using:

```sh
❯ docker buildx imagetools inspect node:18.16.0-alpine3.18
```
This commit is contained in:
Thomas 2023-06-13 13:17:07 +01:00 committed by GitHub
parent 5a48034e33
commit 55b6b28afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM node:18-alpine3.17 as builder FROM node:18.16.0-alpine3.18@sha256:f41850f74ff16a33daff988e2ea06ef8f5daeb6fb84913c7df09552a98caba09 as builder
WORKDIR /usr/src/app WORKDIR /usr/src/app
@ -17,7 +17,7 @@ RUN npm run build
RUN npm prune --omit=dev --omit=optional RUN npm prune --omit=dev --omit=optional
FROM node:18-alpine3.17 FROM node:18.16.0-alpine3.18@sha256:f41850f74ff16a33daff988e2ea06ef8f5daeb6fb84913c7df09552a98caba09
ENV NODE_ENV=production ENV NODE_ENV=production

View file

@ -1,5 +1,5 @@
# Our Node base image # Our Node base image
FROM node:18-alpine3.17 as base FROM node:18.16.0-alpine3.18@sha256:f41850f74ff16a33daff988e2ea06ef8f5daeb6fb84913c7df09552a98caba09 as base
WORKDIR /usr/src/app WORKDIR /usr/src/app
EXPOSE 3000 EXPOSE 3000