Skip to content

Commit 1f27388

Browse files
committed
Update Dockerfile to copy built files from 'dist' and remove build output directory configuration from vite.config.ts
1 parent a85eebb commit 1f27388

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

chatui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN npm run build
88
# Stage 2: Copy static files to YARP container
99
FROM mcr.microsoft.com/dotnet/nightly/yarp:2.3.0-preview.4 AS yarp
1010
WORKDIR /app
11-
COPY --from=builder /app/build ./wwwroot
11+
COPY --from=builder /app/dist ./wwwroot

chatui/vite.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,5 @@ export default defineConfig({
2020
changeOrigin: true,
2121
}
2222
}
23-
},
24-
build: {
25-
outDir: 'build'
2623
}
2724
} as UserConfig);

0 commit comments

Comments
 (0)