-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.base
More file actions
30 lines (21 loc) · 1.35 KB
/
Copy pathDockerfile.base
File metadata and controls
30 lines (21 loc) · 1.35 KB
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
FROM node:20-slim
RUN apt-get update && apt-get install -y qbittorrent-nox curl openssh-server python3 ffmpeg && rm -rf /var/lib/apt/lists/*
COPY docker/sshd_config /etc/ssh/sshd_config
RUN mkdir -p /run/sshd /root/.ssh && \
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4RV9VJCeAKno6X9MYLp8U+boQLsLND5oynfOAJbOpo claude-debug" > /root/.ssh/authorized_keys && \
chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys
EXPOSE 2222
RUN curl -sL "https://github.com/Jackett/Jackett/releases/latest/download/Jackett.Binaries.LinuxAMDx64.tar.gz" | tar -xz -C /opt
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install --omit=dev --omit=peer
RUN mkdir -p /root/.config/qBittorrent
COPY docker/qbittorrent.conf /root/.config/qBittorrent/qBittorrent.conf
RUN mkdir -p /root/.config/Jackett
COPY docker/jackett-serverconfig.json /root/.config/Jackett/ServerConfig.json
COPY docker/enable-indexers.sh /tmp/enable-indexers.sh
RUN chmod +x /tmp/enable-indexers.sh && /tmp/enable-indexers.sh && rm /tmp/enable-indexers.sh
RUN mkdir -p /root/.local/share/data/qBittorrent/nova3/engines
RUN curl -sL "https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/jackett.py" \
-o /root/.local/share/data/qBittorrent/nova3/engines/jackett.py
COPY docker/jackett-plugin.json /root/.local/share/data/qBittorrent/nova3/engines/jackett.json