Skip to content

Commit

Permalink
fix: Install cargo and rust
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsbraz committed Nov 11, 2024
1 parent 78ea728 commit 578c086
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,18 @@ RUN \
COPY ./config/ /config
VOLUME /config

# Install Rust and other necessary dependencies
RUN apk add --no-cache \
gcc \
musl-dev \
libffi-dev \
openssl-dev \
curl && \
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.75.0 && \
source ~/.cargo/env
RUN pip install --upgrade pip
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Run deleterr.py when the container launches
CMD ["python", "-m", "app.deleterr"]

0 comments on commit 578c086

Please sign in to comment.