Speed up docker build of enterprise server (#12074)

This commit is contained in:
chuckbutkus 2025-12-18 22:12:01 -05:00 committed by GitHub
parent d063ee599b
commit 88c053b23c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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