Undertalefan commited on
Commit
48e68b0
·
verified ·
1 Parent(s): a7715d1

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18
2
+
3
+ # Clone the GitHub repo directly
4
+ RUN git clone https://github.com/lezzthanthree/SEKAI-Stories.git /app
5
+
6
+ WORKDIR /app
7
+
8
+ # Install dependencies
9
+ RUN npm install
10
+
11
+ # Hugging Face Spaces requires your app to listen on port 7860
12
+ ENV PORT=7860
13
+
14
+ # Make sure the app uses the PORT variable (if applicable)
15
+ EXPOSE 7860
16
+
17
+ # Start the app
18
+ CMD ["npm", "start"]