@@ -12,7 +12,8 @@ ENV WEB_UI_PORT="8265" SERVER_PORT="8266" NODE_PORT="8267" PUID="1000" PGID="100
1212# ========================================================================================
1313# Install dependencies
1414# ========================================================================================
15- RUN apt-get update && \
15+ RUN export HOME=/root && \
16+ apt-get update && \
1617 apt-get install -y \
1718 software-properties-common \
1819 curl \
@@ -23,7 +24,7 @@ RUN apt-get update && \
2324 /app \
2425 /logs \
2526 /temp \
26- "${HOME}" && \
27+ /home/Tdarr && \
2728 # ========================================================================================
2829 # Install Nodejs 22.x
2930 # ========================================================================================
@@ -162,7 +163,7 @@ RUN apt-get update && \
162163 libdrm-dev && \
163164 # Install Rust (required for libdovi)
164165 curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable && \
165- . "${HOME}/ .cargo/env" && \
166+ . /root/ .cargo/env && \
166167 cargo install cargo-c && \
167168 rustup target add x86_64-pc-windows-gnu && \
168169 # =========================================================================================
@@ -246,7 +247,7 @@ RUN apt-get update && \
246247 libva-dev \
247248 libdrm-dev && \
248249 # remove rust toolchain installed via rustup (cargo, rustup)
249- rm -rdf "$HOME/ .cargo" "$HOME/ .rustup" ; \
250+ rm -rdf /root/ .cargo /root/ .rustup ; \
250251 fi && \
251252 # Final apt cache & index cleanup
252253 apt-get clean && \
0 commit comments