Add rust install to dockerfile for orjson (#125)

This commit is contained in:
Ian H 2025-05-01 14:01:25 -05:00 committed by GitHub
parent 427bbe5125
commit 3463961078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,10 @@ RUN apt-get update && apt-get install -y \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Rust using the simpler method
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --user -r requirements.txt