Spaces:
Build error
Build error
File size: 604 Bytes
2fb585e 42da523 2fb585e 688367a b89714e 688367a 2fb585e b89714e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
FROM python:3.13.5-slim
WORKDIR /app
RUN apt-get update && apt-get install -y build-essential curl git && rm -rf /var/lib/apt/lists/*
# 1. Install system dependencies (EXCLUDING rustc and cargo)
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# 2. Install the latest stable Rust using the official rustup script
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN pip3 install -r requirements.txt
# The rest of the Dockerfile for running the app |