diff --git a/Dockerfile b/Dockerfile
index c414e6da4a9dd288241ae070a077931e8ed04d27..efdeef832dd8599c0a9ed6f9cb80dfdda76a7ea8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,9 +9,9 @@ ARG VERSION=1.14.1
 # Download Java
 RUN apt update && apt install -y openjdk-21-jre-headless
 # Download Komga
-wget https://github.com/gotson/komga/releases/download/$VERSION/komga-$VERSION.jar -O komga.jar
+RUN wget https://github.com/gotson/komga/releases/download/$VERSION/komga-$VERSION.jar -O komga.jar
 # Download kepubify
-wget https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-$ARCH -O /usr/bin/kepubify && chmod +x /usr/bin/kepubify
+RUN wget https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-$ARCH -O /usr/bin/kepubify && chmod +x /usr/bin/kepubify
 
 COPY start.sh /app/pkg/