Skip to content

Update Dockerfile for multi-stage Rust+Python build #100

Description

@dmartmillan

Description
Rewrite Dockerfile as a two-stage build: rust:slim builder stage compiles the wheel, python:slim final stage installs it.

Files

  • Dockerfile — REWRITE

Definition of Done

  • docker build -t openvariant . completes without error
  • docker run openvariant openvar --help works
  • Final image size ≤ Python base + ~10 MB (no Rust toolchain in final layer)

Documentation needed: Update README.md Docker usage section.

Tests needed: CI job: docker build on push to main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions