Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
-
#
|
| 11 |
-
|
| 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
|
|
|
|
| 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"]
|