1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 11:24:37 +02:00
immich/web/Dockerfile

13 lines
336 B
Docker
Raw Normal View History

FROM node:20.15.1-alpine3.20@sha256:34b7aa411056c85dbf71d240d26516949b3f72b318d796c26b57caaa1df5639a
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"]