Skip to content

Commit 76bfede

Browse files
committed
update nginx config
1 parent 08518db commit 76bfede

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

prototype/lvis-ui/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:20.16.0 AS build
22

33
WORKDIR /app
44
COPY package*.json ./
5-
5+
COPY . .
66
# Install dependencies and build the app
77
RUN npm install
88
RUN npm run build

prototype/lvis-ui/vite.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import svgr from "vite-plugin-svgr";
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react(), svgr()],
7+
root: './',
8+
build: {
9+
outDir: 'dist',
10+
},
711
css: {
812
preprocessorOptions: {
913
scss: {

0 commit comments

Comments
 (0)