Skip to content

Commit fb080b3

Browse files
committed
build: source.config.ts not found
1 parent 578271e commit fb080b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /usr/src/web
1616
ENV VITE_APP_API_URL=${CONTEXT_PATH} \
1717
VITE_APP_BASE_PATH=${ROUTE_ROOT_PATH}
1818

19-
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/
19+
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/source.config.ts /usr/src/web/
2020

2121
RUN bun install --frozen-lockfile
2222

web/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
88
import * as MdxConfig from "./source.config";
99

1010
export default defineConfig({
11-
base: env.NODE_ENV === "development" ? '' : `${env.VITE_APP_API_URL}/`,
11+
base: env.NODE_ENV === "development" ? '/' : `${env.VITE_APP_API_URL}/`,
1212
plugins: [
1313
mdx(MdxConfig),
1414
tailwindcss(),

0 commit comments

Comments
 (0)