fix: source.config.ts file not found

This commit is contained in:
ReaJason
2026-08-30 21:23:59 +08:00
parent 4a12d74c7c
commit 961845f96f
+4 -4
View File
@@ -6,7 +6,7 @@ RUN git clone --depth 1 https://github.com/ReaJason/MemShellParty.git . && \
rm -rf vul integration-test tools
# https://hub.docker.com/r/oven/bun
FROM --platform=$BUILDPLATFORM oven/bun:1.3.14 AS frontend
FROM --platform=$BUILDPLATFORM oven/bun:1.4.0 AS frontend
ARG ROUTE_ROOT_PATH=""
ARG CONTEXT_PATH=""
@@ -16,7 +16,7 @@ WORKDIR /usr/src/web
ENV VITE_APP_API_URL=${CONTEXT_PATH} \
VITE_APP_BASE_PATH=${ROUTE_ROOT_PATH}/ui
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/source.config.ts /usr/src/web/
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/
COPY --from=source /usr/src/web/vendor/cfr /usr/src/web/vendor/cfr
RUN bun install --frozen-lockfile
@@ -26,7 +26,7 @@ COPY --from=source /usr/src/web /usr/src/web
RUN bun run build
# https://hub.docker.com/_/eclipse-temurin/tags?name=21.
FROM --platform=$BUILDPLATFORM eclipse-temurin:21.0.11_10-jdk-noble AS backend
FROM --platform=$BUILDPLATFORM eclipse-temurin:21.0.12_8-jdk-noble AS backend
WORKDIR /usr/src
@@ -36,7 +36,7 @@ COPY --from=frontend /usr/src/boot/src/main/resources /usr/src/boot/src/main/res
RUN ./gradlew :boot:bootjar -x test
FROM eclipse-temurin:21.0.11_10-jre-noble
FROM eclipse-temurin:21.0.12_8-jre-noble
LABEL authors="ReaJason<[email protected]>"