TheK3R1M commited on
Commit
2b757ca
·
verified ·
1 Parent(s): fd4dc0d

Add Dockerfile and Space config

Browse files
Files changed (2) hide show
  1. Dockerfile +25 -0
  2. README.md +13 -4
Dockerfile ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20-alpine
2
+
3
+ # Set working directory
4
+ WORKDIR /app
5
+
6
+ # Copy package files
7
+ COPY package*.json ./
8
+
9
+ # Install dependencies
10
+ RUN npm install
11
+
12
+ # Copy source code
13
+ COPY . .
14
+
15
+ # Build the Vite application
16
+ RUN npm run build
17
+
18
+ # Install a simple static file server
19
+ RUN npm install -g serve
20
+
21
+ # Hugging Face Spaces expose port 7860
22
+ EXPOSE 7860
23
+
24
+ # Serve the application from the 'dist' folder
25
+ CMD ["serve", "-s", "dist", "-l", "7860"]
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # 🧠 MindSpark (AI Notebook)
2
 
3
  **MindSpark** is a next-generation AI-powered note-taking and project management platform that transforms your complex ideas into structured, actionable, and detailed project plans.
@@ -64,12 +74,11 @@ Download your massive project file as a highly readable **PDF** document or a de
64
  ---
65
 
66
  ## ⚖️ License
67
- This project is licensed under the **Polyform Non-Commercial License 1.0.0**.
68
 
69
  **What does this mean?**
70
- - You can use and modify this project for **personal, non-commercial use**.
71
- - You **cannot** use this project or its code for commercial purposes, profit, or business activities without explicit permission from the owner.
72
- - Ownership and copyright belong to the original author.
73
 
74
  ---
75
 
 
1
+ ---
2
+ title: MindSpark
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 7860
9
+ ---
10
+
11
  # 🧠 MindSpark (AI Notebook)
12
 
13
  **MindSpark** is a next-generation AI-powered note-taking and project management platform that transforms your complex ideas into structured, actionable, and detailed project plans.
 
74
  ---
75
 
76
  ## ⚖️ License
77
+ This project is licensed under the **MIT License**.
78
 
79
  **What does this mean?**
80
+ - You can use, modify, and distribute this project freely.
81
+ - The original copyright notice and permission notice must be included in all copies or substantial portions of the software.
 
82
 
83
  ---
84