A python library for user-friendly forecasting and anomaly detection on time series.
docker pull unit8co/darts:latest
docker run -d --name darts --restart always unit8co/darts:latest
podman run -d --name darts --restart always unit8co/darts:latest
skopeo inspect docker://docker.io/unit8co/darts:latest
oras pull unit8co/darts:latest
# Use a specific Python version for better reproducibility
FROM python:3.13-slim
# Set work directory
WORKDIR /app
# Install uv from official Astral source
# Using the standalone installer for reliability
COPY --from=ghcr.io/astral-sh/uv:0.11.7 /uv /usr/local/bin/uv
# Copy source code
COPY darts/ /app/darts/
# Copy only the files explicitly needed for installation
COPY pyproject.toml README.md /app/
# Install dependencies using uv
# --no-dev would install only core dependencies, but we want dev-all for the full environment
RUN uv sync --group dev-all
# Copy examples
COPY examples/ /app/examples/
# Set Python path so imports work correctly
ENV PATH="/app/.venv/bin:$PATH"
# Build and run instructions:
# docker build . -t darts:latest
# docker run -it -v $(pwd)/:/app/ darts:latest bash
#
# For Jupyter:
# docker run -it -p 8888:8888 darts:latest bash
# Then inside: uv run jupyter lab --ip 0.0.0.0 --no-browser --allow-root