qbittorrent
> adding Dockerfile for qbittorrent
This commit is contained in:
parent
d637b5a55c
commit
4d5fa42bef
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
||||
|
||||
inspector/logs/
|
||||
.vs
|
||||
assets/testing
|
||||
assets/testing/
|
||||
|
22
qbittorrent/Dockerfile
Normal file
22
qbittorrent/Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
# Use the linuxserver/qbittorrent image as a base
|
||||
FROM linuxserver/qbittorrent:latest
|
||||
|
||||
# Install Python3 and pip3 using apk
|
||||
RUN apk update && \
|
||||
apk add --no-cache python3 py3-pip
|
||||
|
||||
# Create a Python virtual environment and install qbittorrent-api
|
||||
RUN python3 -m venv /opt/venv && \
|
||||
. /opt/venv/bin/activate && \
|
||||
pip3 install --upgrade pip && \
|
||||
pip3 install qbittorrent-api
|
||||
|
||||
# Ensure commands run inside the virtual environment
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
# Any other customizations can be added here
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user