Spaces:
Sleeping
Sleeping
File size: 308 Bytes
fde053a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# 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"]
|