barreloflube commited on
Commit
acb2b2c
·
1 Parent(s): c52e388

chore: Update port configuration for Hugging Face deployment

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. vite.config.ts +4 -7
Dockerfile CHANGED
@@ -34,7 +34,7 @@ COPY . .
34
  RUN bun run build
35
 
36
  # Expose the port the app runs on
37
- EXPOSE 3000
38
 
39
  # Command to run the application
40
  CMD bun run preview
 
34
  RUN bun run build
35
 
36
  # Expose the port the app runs on
37
+ EXPOSE 7860
38
 
39
  # Command to run the application
40
  CMD bun run preview
vite.config.ts CHANGED
@@ -14,12 +14,9 @@ export default defineConfig({
14
  },
15
  },
16
  server: {
17
- proxy: {
18
- 'http://localhost:11434': {
19
- target: 'http://localhost:11434',
20
- changeOrigin: true,
21
- secure: false,
22
- }
23
- }
24
  }
25
  });
 
14
  },
15
  },
16
  server: {
17
+ port: 7860
18
+ },
19
+ preview: {
20
+ port: 7860
 
 
 
21
  }
22
  });