startrz commited on
Commit
a6d76a1
·
verified ·
1 Parent(s): 6efff3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -2,7 +2,12 @@ FROM docker.all-hands.dev/all-hands-ai/openhands:0.13
2
 
3
  ENV SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.13-nikolaik
4
 
5
- # Expose port
6
- EXPOSE 3000
 
 
 
 
7
 
8
- # The entrypoint will be inherited from the base image
 
 
2
 
3
  ENV SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.13-nikolaik
4
 
5
+ # Fix permissions for entrypoint script
6
+ USER root
7
+ RUN chmod +x /app/entrypoint.sh
8
+
9
+ # Switch back to non-root user if needed
10
+ # USER 1000
11
 
12
+ # Expose port
13
+ EXPOSE 3000