Skip to content

Commit

Permalink
build: Update Dockerfile to install Rust and curl
Browse files Browse the repository at this point in the history
- Update base Python image to version `3.12`
- Include `curl` installation in Dockerfile
- Add Rust installation using `rustup.rs` script and configure PATH to include Cargo directory
  • Loading branch information
johnnyhuy committed Jul 18, 2024
1 parent b9021c0 commit 06cbd18
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM python:3.13.0b2-slim
FROM python:3.12-slim

RUN apt-get update && apt-get install -y ffmpeg
RUN apt-get update && apt-get install -y ffmpeg curl

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

WORKDIR /app

Expand Down

0 comments on commit 06cbd18

Please sign in to comment.