Skip to content

Commit f30b8e5

Browse files
committed
fix: update Dockerfile and Vite config to use correct webui/dist path
The build process was failing because the Dockerfile was copying from the wrong source path and the Vite configuration was outputting to the wrong directory. Updated both to use the correct backend/webui/dist path structure.
1 parent bc9e1e3 commit f30b8e5

6 files changed

Lines changed: 2 additions & 65 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN yzma lib get || true
3636
RUN mkdir -p /app/lib
3737

3838
# Copy built UI assets from ui-builder stage
39-
COPY --from=ui-builder /app/webui/dist ./webui/dist
39+
COPY --from=ui-builder /app/backend/webui/dist ./webui/dist
4040

4141
# Build the application using Makefile
4242
RUN make

web/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
}
2121
},
2222
build: {
23-
outDir: '../webui/dist',
23+
outDir: '../backend/webui/dist',
2424
sourcemap: true,
2525
emptyOutDir: true
2626
}

webui/dist/assets/index-bBGLHCQX.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

webui/dist/assets/index-uG8J5YR6.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

webui/dist/assets/index-uG8J5YR6.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

webui/dist/index.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)