# Docs - https://github.com/ente-io/ente/blob/main/web/docs/docker.md FROM node:22-alpine AS builder WORKDIR /build COPY . . ENV NEXT_PUBLIC_ENTE_ENDPOINT=ENTE_API_ORIGIN_PLACEHOLDER ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=ENTE_ALBUMS_ORIGIN_PLACEHOLDER # `yarn install` is flaky on the GitHub arm64 runners otherwise. RUN yarn config set network-timeout 900000 -g RUN yarn install RUN yarn build:photos RUN yarn build:accounts RUN yarn build:auth RUN yarn build:cast FROM nginx WORKDIR /out COPY --from=builder /build/apps/photos/out /out/photos COPY --from=builder /build/apps/accounts/out /out/accounts COPY --from=builder /build/apps/auth/out /out/auth COPY --from=builder /build/apps/cast/out /out/cast COPY <