mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
13 lines
336 B
Docker
13 lines
336 B
Docker
FROM node:20.18.0-alpine3.20@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9
|
|
|
|
RUN apk add --no-cache tini
|
|
USER node
|
|
WORKDIR /usr/src/app
|
|
COPY --chown=node:node package*.json ./
|
|
RUN npm ci
|
|
COPY --chown=node:node . .
|
|
ENV CHOKIDAR_USEPOLLING=true
|
|
EXPOSE 24678
|
|
EXPOSE 3000
|
|
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]
|