You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
427 B

FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
WORKDIR /app
RUN mkdir -p /tmp/uv-cache /app/data /app/logs
COPY pyproject.toml uv.lock LICENSE README.md ./
COPY deepsearcher/ ./deepsearcher/
RUN uv sync
COPY . .
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8000/docs || exit 1
CMD ["uv", "run", "python", "main.py", "--enable-cors", "true"]