Spaces:
Sleeping
Sleeping
File size: 449 Bytes
d9175ae 08a9fcf d9175ae 08a9fcf d9175ae 6194588 d9175ae 6194588 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM python:3.11-slim
WORKDIR /app
# Copy entire project
COPY . .
# Move into package directory
WORKDIR /app/tool_use_env
# Install uv (needed for pyproject-based install)
# RUN pip install --no-cache-dir uv
# Install project + dependencies
RUN pip install --no-cache-dir -e .
# Expose port
EXPOSE 7860
# Run server
CMD ["uvicorn", "tool_use_env.server.app:app", "--host", "0.0.0.0", "--port", "7860", "--ws", "websockets", "--proxy-headers"] |