Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -25,11 +25,11 @@ RUN pnpm install
|
|
| 25 |
RUN pnpm run build
|
| 26 |
|
| 27 |
# Expose port 7860 (Hugging Face Spaces default)
|
| 28 |
-
EXPOSE
|
| 29 |
|
| 30 |
# Set host and port for Hugging Face Spaces
|
| 31 |
-
ENV HOST=
|
| 32 |
-
ENV PORT=
|
| 33 |
|
| 34 |
# Start the production server instead of dev
|
| 35 |
CMD ["pnpm", "run", "start"]
|
|
|
|
| 25 |
RUN pnpm run build
|
| 26 |
|
| 27 |
# Expose port 7860 (Hugging Face Spaces default)
|
| 28 |
+
EXPOSE 8788
|
| 29 |
|
| 30 |
# Set host and port for Hugging Face Spaces
|
| 31 |
+
ENV HOST=localhost
|
| 32 |
+
ENV PORT=8788
|
| 33 |
|
| 34 |
# Start the production server instead of dev
|
| 35 |
CMD ["pnpm", "run", "start"]
|