1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/web/Dockerfile

13 lines
336 B
Docker
Raw Normal View History

FROM node:20.17.0-alpine3.20@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03
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"]