diff --git a/enterprise/Dockerfile b/enterprise/Dockerfile index b0ca56a7f6..7b50748ffb 100644 --- a/enterprise/Dockerfile +++ b/enterprise/Dockerfile @@ -31,9 +31,8 @@ RUN pip install alembic psycopg2-binary cloud-sql-python-connector pg8000 gsprea "pillow>=11.3.0" WORKDIR /app -COPY enterprise . +COPY --chown=openhands:openhands --chmod=770 enterprise . -RUN chown -R openhands:openhands /app && chmod -R 770 /app USER openhands # Command will be overridden by Kubernetes deployment template