burtenshaw HF Staff commited on
Commit
4103e11
Β·
verified Β·
1 Parent(s): 0f54928

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +10 -0
  2. README.md +1 -1
Dockerfile CHANGED
@@ -6,6 +6,16 @@
6
 
7
  # Use the specified openenv-base image
8
  FROM ghcr.io/meta-pytorch/openenv-base:latest
 
 
 
 
 
 
 
 
 
 
9
 
10
  # Copy only what's needed for this environment
11
  COPY src/core/ /app/src/core/
 
6
 
7
  # Use the specified openenv-base image
8
  FROM ghcr.io/meta-pytorch/openenv-base:latest
9
+ # Install system libraries required by TextArena
10
+ RUN apt-get update && apt-get install -y --no-install-recommends \
11
+ libgl1 \
12
+ libglib2.0-0 \
13
+ && rm -rf /var/lib/apt/lists/*
14
+
15
+ # Install TextArena and supporting Python packages
16
+ RUN pip install --no-cache-dir \
17
+ textarena==0.6.1 \
18
+ nltk==3.9.2
19
 
20
  # Copy only what's needed for this environment
21
  COPY src/core/ /app/src/core/
README.md CHANGED
@@ -2,7 +2,7 @@
2
  title: Textarena_env Environment Server
3
  emoji: πŸ“œ
4
  colorFrom: green
5
- colorTo: green
6
  sdk: docker
7
  pinned: false
8
  app_port: 8000
 
2
  title: Textarena_env Environment Server
3
  emoji: πŸ“œ
4
  colorFrom: green
5
+ colorTo: blue
6
  sdk: docker
7
  pinned: false
8
  app_port: 8000