Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -36,14 +36,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 36 |
# Copy environment files first (for better caching)
|
| 37 |
COPY . .
|
| 38 |
|
| 39 |
-
# Make start.sh executable
|
| 40 |
-
RUN chmod +x /app/env/server/start.sh
|
| 41 |
-
|
| 42 |
# Install Python dependencies using pip install -e . (from pyproject.toml)
|
| 43 |
RUN pip install --no-cache-dir -e .
|
| 44 |
|
| 45 |
# Install Playwright browsers (Chromium by default)
|
| 46 |
-
|
|
|
|
| 47 |
|
| 48 |
# Install MiniWoB++ tasks
|
| 49 |
RUN git clone --depth 1 https://github.com/Farama-Foundation/miniwob-plusplus.git /app/miniwob-plusplus
|
|
|
|
| 36 |
# Copy environment files first (for better caching)
|
| 37 |
COPY . .
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
# Install Python dependencies using pip install -e . (from pyproject.toml)
|
| 40 |
RUN pip install --no-cache-dir -e .
|
| 41 |
|
| 42 |
# Install Playwright browsers (Chromium by default)
|
| 43 |
+
# Use python -m since playwright command might not be in PATH
|
| 44 |
+
RUN python -m playwright install chromium
|
| 45 |
|
| 46 |
# Install MiniWoB++ tasks
|
| 47 |
RUN git clone --depth 1 https://github.com/Farama-Foundation/miniwob-plusplus.git /app/miniwob-plusplus
|