triflix commited on
Commit
fde053a
·
verified ·
1 Parent(s): 08025ec

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a lightweight Node image
2
+ FROM node:20-alpine
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Install a simple static server
8
+ RUN npm install -g serve
9
+
10
+ # Copy the built files
11
+ COPY dist /app
12
+
13
+ # Expose Hugging Face Space port
14
+ EXPOSE 7860
15
+
16
+ # Command to serve the static site
17
+ CMD ["serve", "-s", ".", "-l", "7860"]