1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-30 09:47:31 +02:00
immich/web/Dockerfile

13 lines
336 B
Docker
Raw Normal View History

FROM node:20.15.0-alpine3.20@sha256:0ccc08fadfe696f2959f59404ce0d90461c834a7465c4a563c62c0fef4089885
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"]