Skip to content

Commit 6f81a91

Browse files
committed
fix(ci): copy exported frontend assets into image roots
1 parent dd56b34 commit 6f81a91

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ RUN mkdir -p /app /data /var/log/supervisor
7474
# separate dist dir so `next build` doesn't clobber a live dev server's `.next`
7575
# artifacts.
7676
COPY --from=backend /app/target/release/cxdb-server /app/cxdb
77-
COPY --from=frontend /app/.next-build /usr/share/nginx/html
77+
COPY --from=frontend /app/.next-build/. /usr/share/nginx/html/
7878

7979
# Copy nginx config
8080
COPY deploy/nginx.conf /etc/nginx/nginx.conf

gateway/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN go mod download
3737
COPY gateway/ ./
3838

3939
# Copy frontend build output for embedding
40-
COPY --from=frontend /app/.next-build ./pkg/proxy/web/
40+
COPY --from=frontend /app/.next-build/. ./pkg/proxy/web/
4141

4242
# Build with CGO enabled for SQLite
4343
RUN --mount=type=cache,target=/root/.cache/go-build \

0 commit comments

Comments
 (0)