Backup-bdg commited on
Commit
5330c80
·
verified ·
1 Parent(s): 51ff9e5

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -31
Dockerfile DELETED
@@ -1,31 +0,0 @@
1
- # Use a minimal base image since the actual runtime is handled by the provided image
2
- FROM python:3.9-slim
3
-
4
- # Install Docker CLI in the container to manage Docker commands
5
- RUN apt-get update && apt-get install -y \
6
- docker.io \
7
- && rm -rf /var/lib/apt/lists/*
8
-
9
- # Set working directory
10
- WORKDIR /app
11
-
12
- # Copy any necessary files (if needed, e.g., scripts or configuration)
13
- # COPY . .
14
-
15
- # Set environment variables as specified in the command
16
- ENV SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik
17
- ENV LOG_ALL_EVENTS=true
18
-
19
- # Expose the port specified in the command
20
- EXPOSE 3000
21
-
22
- # Run the Docker command to start the openhands-app container
23
- CMD ["docker", "run", "-it", "--rm", "--pull=always", \
24
- "-e", "SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik", \
25
- "-e", "LOG_ALL_EVENTS=true", \
26
- "-v", "/var/run/docker.sock:/var/run/docker.sock", \
27
- "-v", "/.openhands-state:/.openhands-state", \
28
- "-p", "3000:3000", \
29
- "--add-host", "host.docker.internal:host-gateway", \
30
- "--name", "openhands-app", \
31
- "docker.all-hands.dev/all-hands-ai/openhands:0.41"]