1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00
immich/web/Dockerfile

13 lines
336 B
Docker
Raw Normal View History

FROM node:20.17.0-alpine3.20@sha256:1a526b97cace6b4006256570efa1a29cd1fe4b96a5301f8d48e87c5139438a45
2024-02-14 16:57:02 +02:00
RUN apk add --no-cache tini
2023-11-29 00:52:37 +02:00
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
2024-02-14 16:57:02 +02:00
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]