Aditya190803 commited on
Commit
05d0751
·
verified ·
1 Parent(s): 77b795e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -8,11 +8,8 @@ ENV LOG_ALL_EVENTS=true
8
  # Ensure the entrypoint script has execute permissions
9
  RUN chmod +x /app/entrypoint.sh
10
 
11
- # Set appropriate ownership to avoid permission issues in Hugging Face Spaces
12
- RUN chown -R 1000:1000 /app
13
-
14
- # Switch to the non-root user expected by Spaces
15
- USER 1000
16
 
17
  # Expose the port that the application listens on
18
  EXPOSE 3000
 
8
  # Ensure the entrypoint script has execute permissions
9
  RUN chmod +x /app/entrypoint.sh
10
 
11
+ # Switch to root user (required by OpenHands)
12
+ USER root
 
 
 
13
 
14
  # Expose the port that the application listens on
15
  EXPOSE 3000