Spaces:
Sleeping
Sleeping
| # Use a lightweight Node image | |
| FROM node:20-alpine | |
| # Set working directory | |
| WORKDIR /app | |
| # Install a simple static server | |
| RUN npm install -g serve | |
| # Copy the built files | |
| COPY dist /app | |
| # Expose Hugging Face Space port | |
| EXPOSE 7860 | |
| # Command to serve the static site | |
| CMD ["serve", "-s", ".", "-l", "7860"] | |