ar08 commited on
Commit
bd35691
·
verified ·
1 Parent(s): 49f969b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -4
Dockerfile CHANGED
@@ -1,8 +1,18 @@
1
- # Use dokploy/dokploy:latest as the base image
2
- FROM dokploy/dokploy:latest
3
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
- # Default command
8
- CMD ["dorkploy"]
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the specified base image
2
+ FROM ghcr.io/opendevin/sandbox:v0.1
3
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
+ # Copy requirements file and application files
8
+ COPY requirements.txt requirements.txt
9
+ COPY . .
10
+
11
+ # Install dependencies from requirements.txt
12
+ RUN python -m pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Expose the application port
15
+ EXPOSE 3000
16
+
17
+ # Default command to run the application
18
+ CMD ["uvicorn", "opendevin.server.listen:app", "--port", "3000"]