Add Dockerfile and Space config
Browse files- Dockerfile +25 -0
- 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 **
|
| 68 |
|
| 69 |
**What does this mean?**
|
| 70 |
-
- You can use and
|
| 71 |
-
-
|
| 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 |
|