Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix: Keep the existing behavior in the docker command. (#9724)

Tim O'Farrell1d95b01514eb
diff --git a/containers/app/Dockerfile b/containers/app/Dockerfile
index ceee03645d..c6e2b48c5d 100644
--- a/containers/app/Dockerfile
+++ b/containers/app/Dockerfile
@@ -45,6 +45,7 @@ ENV OPENHANDS_BUILD_VERSION=$OPENHANDS_BUILD_VERSION
ENV SANDBOX_USER_ID=0
ENV FILE_STORE=local
ENV FILE_STORE_PATH=/.openhands
+ENV INIT_GIT_IN_EMPTY_WORKSPACE=1
RUN mkdir -p $FILE_STORE_PATH
RUN mkdir -p $WORKSPACE_BASE