Commit
·
acb2b2c
1
Parent(s):
c52e388
chore: Update port configuration for Hugging Face deployment
Browse files- Dockerfile +1 -1
- 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
|
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 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
secure: false,
|
22 |
-
}
|
23 |
-
}
|
24 |
}
|
25 |
});
|
|
|
14 |
},
|
15 |
},
|
16 |
server: {
|
17 |
+
port: 7860
|
18 |
+
},
|
19 |
+
preview: {
|
20 |
+
port: 7860
|
|
|
|
|
|
|
21 |
}
|
22 |
});
|