diff --git a/Dockerfile b/Dockerfile
index 22c203f5e5..ee3a30a3c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,7 +32,7 @@ ARG NODE_ENV=production
 RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
 	pnpm i --frozen-lockfile --aggregate-output
 
-ARG NODE_ENV=production
+COPY --link . ./
 
 RUN git submodule update --init
 RUN pnpm build