Spaces:
Sleeping
Sleeping
Upload Dockerfile with huggingface_hub
Browse files21 unmodified lines222324252627282930313233343536373839404121 unmodified lines# Set the working directoryWORKDIR /app# Copy dependency filesCOPY pyproject.toml ./# Install Python dependencies# Using uv for faster buildsRUN pip install --no-cache-dir uv && \uv pip install --system --no-cache .# Copy the rest of the applicationCOPY . .# Build the Rust engineRUN maturin develop --manifest-path engine_rust_src/Cargo.toml --release# Compile card dataRUN python -m compiler.main21 unmodified lines222324252627282930313233343521 unmodified lines# Set the working directoryWORKDIR /app# Copy the entire application early so maturin can see engine_rust_src/Cargo.tomlCOPY . .# Install Python dependencies and build the Rust engine# Using uv for faster buildsRUN pip install --no-cache-dir uv && \uv pip install --system --no-cache .# Compile card dataRUN python -m compiler.main
Dockerfile+3-9