immich/web/Dockerfile

13 lines
333 B
Docker
Raw Normal View History

FROM node:iron-alpine3.18@sha256:fe31b16ddfb4ba4ae1a42ea540e9e44b916d754e67c64642b090839a9b2ed0ee
2024-02-14 07:57:02 -07:00
RUN apk add --no-cache tini
2023-11-28 15:52:37 -07: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 07:57:02 -07:00
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh"]