We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a10885 commit ba260f6Copy full SHA for ba260f6
2 files changed
Dockerfile
@@ -5,6 +5,6 @@ WORKDIR /
5
COPY package*.json ./
6
RUN npm install
7
COPY . .
8
-CMD ["npm" "run" "dev"]
+CMD ["npm", "run", "dev"]
9
10
# RUN is build time and CMD is run time.
vite.config.ts
@@ -1,10 +1,17 @@
1
-import { defineConfig } from 'vite';
2
-import react from '@vitejs/plugin-react';
+import { defineConfig } from 'vite'
+import react from '@vitejs/plugin-react'
3
4
-// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
optimizeDeps: {
exclude: ['lucide-react'],
},
-});
+ server: {
+ host: '0.0.0.0',
11
+ port: 5173,
12
+ watch: {
13
+ usePolling: false,
14
+ ignored: ['**/*', '!**/src/**']
15
+ }
16
17
+})
0 commit comments