immich/server/Dockerfile

16 lines
263 B
Docker

FROM node:16-alpine3.14
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build