# syntax=docker/dockerfile:1 FROM node:21-bookworm-slim as ente-builder ENV NEXT_PUBLIC_ENTE_ENDPOINT=DOCKER_RUNTIME_REPLACE_ENDPOINT \ NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=DOCKER_RUNTIME_REPLACE_ALBUMS_ENDPOINT RUN apt update && apt install -y ca-certificates git git-lfs && rm -rf /var/lib/apt/lists/* WORKDIR /app RUN git clone --recursive --depth=1 --shallow-submodules https://github.com/ente-io/ente.git . WORKDIR /app/web RUN yarn install && \ yarn build FROM nginx:1.25-alpine-slim COPY --from=ente-builder /app/web/apps/photos/out /usr/share/nginx/html COPY <