rhli commited on
Commit
f1fa26d
·
verified ·
1 Parent(s): dad152b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -7,11 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
7
  git \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
- # Copy project files
11
- COPY . .
12
-
13
- # Install Python dependencies (with all optional extras)
14
- RUN pip install --no-cache-dir -e ".[web]"
15
 
16
  # Download parquet benchmark data from HuggingFace
17
  # This dataset contains the prompt/benchmark data (not arena battle results)
@@ -22,4 +19,4 @@ RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(
22
  EXPOSE 7860
23
 
24
  # Start the application
25
- CMD ["python", "genarena/deploy/app.py"]
 
7
  git \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Install Python dependencies
11
+ RUN pip install genarena[web]
 
 
 
12
 
13
  # Download parquet benchmark data from HuggingFace
14
  # This dataset contains the prompt/benchmark data (not arena battle results)
 
19
  EXPOSE 7860
20
 
21
  # Start the application
22
+ CMD ["python", "-m", "genarena.deploy.app"]