diff --git a/Dockerfile b/Dockerfile
index b80a42041bb779a816da89b6a8ee2b8af1d0cf5c..0fb96c221ea2d672989cdb9aba357d0dd5b736e2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,9 @@ ARG PLATFORM="linux.x86_64"
 ARG GODOT_VERSION="4.3-stable"
 ARG BUTLER_VERSION="15.12.0"
 
-RUN apt-get update \
-    && apt-get install -y git libfontconfig1 \
-    && rm -rf /var/lib/apt/lists/*
+RUN sudo apt-get update \
+    && sudo apt-get install -y git libfontconfig1 \
+    && sudo rm -rf /var/lib/apt/lists/*
 
 COPY commands/godot_build.sh /usr/bin/godot_build
 COPY commands/godot_build_web.sh /usr/bin/godot_build_web