Spaces:
Paused
Paused
Manus Agent commited on
Commit ·
ed0a9e1
1
Parent(s): 2d9a2cd
Attempt to fix permissions by switching to root in Dockerfile
Browse files2 unmodified lines34567891011122 unmodified lines# Copy the custom entrypoint scriptCOPY entrypoint.sh /usr/local/bin/entrypoint.sh# Make it executableRUN chmod +x /usr/local/bin/entrypoint.sh# Set the user (coder images run as `coder` user by default, UID 1000)USER coder# Set the working directory for Coder (optional, as Coder might set its own)2 unmodified lines3456789101112132 unmodified lines# Copy the custom entrypoint scriptCOPY entrypoint.sh /usr/local/bin/entrypoint.sh# Switch to root to set permissionsUSER rootRUN chmod +x /usr/local/bin/entrypoint.sh# Switch back to the default coder userUSER coder# Set the working directory for Coder (optional, as Coder might set its own)
Dockerfile+3-2