-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·35 lines (25 loc) · 779 Bytes
/
Dockerfile
File metadata and controls
executable file
·35 lines (25 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM superng6/alpine:3.22 AS builder
LABEL maintainer="SuperNG6"
WORKDIR /qbittorrent
COPY install.sh /qbittorrent/
COPY ReleaseTag /qbittorrent/
RUN apk add --no-cache ca-certificates curl jq
RUN cd /qbittorrent \
&& chmod a+x install.sh \
&& bash install.sh
# docker qBittorrent-Enhanced-Edition
FROM superng6/alpine:3.22
# environment settings
ENV TZ=Asia/Shanghai \
WEBUIPORT=8080 \
ENABLE_DOWNLOADS_PERM_FIX=true
# add local files and install qbitorrent
COPY root /
COPY --from=builder /qbittorrent/qbittorrent-nox /usr/local/bin/qbittorrent-nox
# install python3
RUN apk add --no-cache python3 \
&& rm -rf /var/cache/apk/* \
&& chmod a+x /usr/local/bin/qbittorrent-nox
# ports and volumes
VOLUME /downloads /config
EXPOSE 8080 6881 6881/udp