Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
#
|
12 |
-
|
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
|