Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -14,5 +14,11 @@ RUN python3 -m venv /venv && \
|
|
14 |
# Set the virtual environment as default
|
15 |
ENV PATH="/venv/bin:$PATH"
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
# Run the application
|
18 |
CMD ["python", "-m", "fastchat.serve.gradio_web_server_multi", "--controller", "", "--register", "api_endpoints_serve.json", "--vision-arena"]
|
|
|
14 |
# Set the virtual environment as default
|
15 |
ENV PATH="/venv/bin:$PATH"
|
16 |
|
17 |
+
# Create a writable logs directory
|
18 |
+
RUN mkdir -p /SWE-Arena/logs && chmod -R 777 /SWE-Arena/logs
|
19 |
+
|
20 |
+
# Set the working directory
|
21 |
+
WORKDIR /SWE-Arena
|
22 |
+
|
23 |
# Run the application
|
24 |
CMD ["python", "-m", "fastchat.serve.gradio_web_server_multi", "--controller", "", "--register", "api_endpoints_serve.json", "--vision-arena"]
|