immich/web/Dockerfile
2023-11-28 17:52:37 -05:00

12 lines
216 B
Docker

FROM node:iron-alpine3.18
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
CMD ["npm", "run", "dev"]