fix: restore albums placeholder, fix nginx port 3002, remove unused web apps

This commit is contained in:
copilot-swe-agent[bot]
2026-06-04 11:36:21 +00:00
committed by GitHub
parent ea9f19ea80
commit c1efd293cf
2 changed files with 2 additions and 11 deletions

View File

@@ -35,6 +35,7 @@ RUN git clone --depth 1 --branch "${ENTE_WEB_TAG}" https://github.com/ente-io/en
# Build web workspace (lives in ./web)
WORKDIR /src/web
ENV NEXT_PUBLIC_ENTE_ENDPOINT=ENTE_API_ORIGIN_PLACEHOLDER
ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=ENTE_ALBUMS_ORIGIN_PLACEHOLDER
RUN npm ci
RUN npm run build:photos
@@ -42,11 +43,6 @@ RUN npm run build:albums
RUN npm run build:accounts
RUN npm run build:auth
RUN npm run build:cast
RUN npm run build:share
RUN npm run build:embed
RUN npm run build:paste
RUN npm run build:locker
RUN npm run build:memories
#################
# 1) Base image #
@@ -94,11 +90,6 @@ COPY --from=web-builder /src/web/apps/albums/out /www/albums
COPY --from=web-builder /src/web/apps/accounts/out /www/accounts
COPY --from=web-builder /src/web/apps/auth/out /www/auth
COPY --from=web-builder /src/web/apps/cast/out /www/cast
COPY --from=web-builder /src/web/apps/share/out /www/share
COPY --from=web-builder /src/web/apps/embed/out /www/embed
COPY --from=web-builder /src/web/apps/paste/out /www/paste
COPY --from=web-builder /src/web/apps/locker/out /www/locker
COPY --from=web-builder /src/web/apps/memories/out /www/memories
############################
# 3) Install add-on helpers #

View File

@@ -7,7 +7,7 @@ server {
location / { try_files $uri $uri.html /index.html =404; }
}
server {
listen 3002; root /www/photos;
listen 3002; root /www/albums;
location / { try_files $uri $uri.html /index.html =404; }
}
server {