FECUOY commited on
Commit
385cf6b
·
1 Parent(s): 64e95c3

Fix: Copy patches before install and update README metadata

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. README.md +3 -8
Dockerfile CHANGED
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- # Install Python dependencies (Chromadb needs some build tools sometimes)
12
  RUN pip3 install chromadb --break-system-packages
13
 
14
  WORKDIR /app
@@ -16,8 +16,9 @@ WORKDIR /app
16
  # Install pnpm
17
  RUN npm install -g pnpm
18
 
19
- # Copy package files first for better caching
20
  COPY package.json pnpm-lock.yaml ./
 
21
 
22
  # Install dependencies
23
  RUN pnpm install
 
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
+ # Install Python dependencies
12
  RUN pip3 install chromadb --break-system-packages
13
 
14
  WORKDIR /app
 
16
  # Install pnpm
17
  RUN npm install -g pnpm
18
 
19
+ # Copy package files AND patches folder (crucial for pnpm install)
20
  COPY package.json pnpm-lock.yaml ./
21
+ COPY patches ./patches
22
 
23
  # Install dependencies
24
  RUN pnpm install
README.md CHANGED
@@ -4,19 +4,14 @@ emoji: 🏭
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: docker
7
- app_port: 7860
8
  pinned: false
 
9
  ---
10
 
11
  # HackingFactory v2 - AI Self-Refining System
12
 
13
  This is an advanced AI-powered code generation and evaluation system.
14
 
15
- ## Features
16
- - **Dynamic Sandbox:** Securely run and test generated code.
17
- - **Self-Refining Loop:** Automated generation and evaluation cycles.
18
- - **Vector Memory:** Learning from previous successful solutions using ChromaDB.
19
- - **Visual Dashboard:** Track progress with interactive charts.
20
-
21
- ## Deployment
22
  Running as a Docker Space on Hugging Face.
 
 
4
  colorFrom: green
5
  colorTo: blue
6
  sdk: docker
 
7
  pinned: false
8
+ app_port: 7860
9
  ---
10
 
11
  # HackingFactory v2 - AI Self-Refining System
12
 
13
  This is an advanced AI-powered code generation and evaluation system.
14
 
15
+ ## Deployment Info
 
 
 
 
 
 
16
  Running as a Docker Space on Hugging Face.
17
+ Port: 7860