atin5551 commited on
Commit
5885d15
·
1 Parent(s): cb70a7d

Add Docker runtime files for Space

Browse files
Files changed (3) hide show
  1. Dockerfile +7 -0
  2. README.md +1 -0
  3. requirements-space.txt +3 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+ WORKDIR /app
3
+ COPY requirements-space.txt .
4
+ RUN pip install --no-cache-dir -r requirements-space.txt
5
+ COPY . .
6
+ EXPOSE 7860
7
+ CMD ["uvicorn", "openenv_wrapper.server.app:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -7,6 +7,7 @@ sdk: docker
7
  pinned: false
8
  license: mit
9
  short_description: OpenEnv wildfire benchmark for long-horizon drone RL systems
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  pinned: false
8
  license: mit
9
  short_description: OpenEnv wildfire benchmark for long-horizon drone RL systems
10
+ app_port: 7860
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
requirements-space.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ openenv==0.1.13
2
+ openenv-core==0.2.1
3
+ uvicorn[standard]>=0.30.0