mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-10-04 08:16:36 +08:00
18 lines
378 B
Docker
18 lines
378 B
Docker
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
|
|
|
|
# Install uv.
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the application into the container.
|
|
COPY . /app
|
|
|
|
# Install the application dependencies.
|
|
RUN uv sync --frozen --no-cache
|
|
|
|
EXPOSE 8000
|
|
|
|
# Run the application.
|
|
CMD ["uv", "run", "python", "server.py", "--host", "0.0.0.0", "--port", "8000"]
|