Spaces:
Sleeping

File size: 339 Bytes
99b9a79
8afc8dd
99b9a79
 
d416223
99b9a79
d416223
 
99b9a79
 
d416223
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM ghcr.io/meta-pytorch/openenv-base:latest
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY . /app

RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
    /root/.local/bin/uv pip install --system fastapi uvicorn httpx openai openenv-core

ENV PYTHONPATH="/app"
EXPOSE 7860

# We use the new entry point
CMD ["python3", "-m", "server.app"]