This commit is contained in:
2025-01-27 17:25:25 +02:00
parent 3b442269ec
commit 28aa743947

View File

@@ -13,12 +13,17 @@ RUN apt-get update && apt-get install -y \
cargo \ cargo \
g++ \ g++ \
curl \ curl \
libjpeg-dev \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Rust # Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}" ENV PATH="/root/.cargo/bin:${PATH}"
# Upgrade pip to the latest version
RUN pip install --upgrade pip
# Copy the current directory contents into the container at /app # Copy the current directory contents into the container at /app
COPY . /app COPY . /app
@@ -37,6 +42,8 @@ RUN apt-get update && apt-get install -y \
libssl-dev \ libssl-dev \
g++ \ g++ \
curl \ curl \
libjpeg-dev \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Rust # Install Rust