Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
Dockerfile
CHANGED
|
@@ -13,15 +13,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
-
# Copy openenv-core package (root pyproject.toml + src/)
|
| 17 |
-
COPY pyproject.toml ./
|
| 18 |
-
COPY src/ ./src/
|
| 19 |
-
|
| 20 |
# Copy coding_env package
|
| 21 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 22 |
|
| 23 |
-
# Install openenv-core first
|
| 24 |
-
RUN pip install --no-cache-dir . && \
|
| 25 |
pip install --no-cache-dir ./envs/coding_env/
|
| 26 |
|
| 27 |
# Environment variables
|
|
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Copy coding_env package
|
| 17 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 18 |
|
| 19 |
+
# Install openenv-core first from PyPI, then coding_env
|
| 20 |
+
RUN pip install --no-cache-dir "openenv-core[core]>=0.2.1" && \
|
| 21 |
pip install --no-cache-dir ./envs/coding_env/
|
| 22 |
|
| 23 |
# Environment variables
|
envs/coding_env/server/Dockerfile
CHANGED
|
@@ -13,15 +13,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
-
# Copy openenv-core package (root pyproject.toml + src/)
|
| 17 |
-
COPY pyproject.toml ./
|
| 18 |
-
COPY src/ ./src/
|
| 19 |
-
|
| 20 |
# Copy coding_env package
|
| 21 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 22 |
|
| 23 |
-
# Install openenv-core first
|
| 24 |
-
RUN pip install --no-cache-dir . && \
|
| 25 |
pip install --no-cache-dir ./envs/coding_env/
|
| 26 |
|
| 27 |
# Environment variables
|
|
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Copy coding_env package
|
| 17 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 18 |
|
| 19 |
+
# Install openenv-core first from PyPI, then coding_env
|
| 20 |
+
RUN pip install --no-cache-dir "openenv-core[core]>=0.2.1" && \
|
| 21 |
pip install --no-cache-dir ./envs/coding_env/
|
| 22 |
|
| 23 |
# Environment variables
|
server/Dockerfile
CHANGED
|
@@ -13,15 +13,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
-
# Copy openenv-core package (root pyproject.toml + src/)
|
| 17 |
-
COPY pyproject.toml ./
|
| 18 |
-
COPY src/ ./src/
|
| 19 |
-
|
| 20 |
# Copy coding_env package
|
| 21 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 22 |
|
| 23 |
-
# Install openenv-core first
|
| 24 |
-
RUN pip install --no-cache-dir . && \
|
| 25 |
pip install --no-cache-dir ./envs/coding_env/
|
| 26 |
|
| 27 |
# Environment variables
|
|
|
|
| 13 |
curl \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Copy coding_env package
|
| 17 |
COPY envs/coding_env/ ./envs/coding_env/
|
| 18 |
|
| 19 |
+
# Install openenv-core first from PyPI, then coding_env
|
| 20 |
+
RUN pip install --no-cache-dir "openenv-core[core]>=0.2.1" && \
|
| 21 |
pip install --no-cache-dir ./envs/coding_env/
|
| 22 |
|
| 23 |
# Environment variables
|
src/core/env_server/interfaces.py
CHANGED
|
@@ -6,7 +6,9 @@
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
-
from typing import Any, Generic, Optional, Protocol,
|
|
|
|
|
|
|
| 10 |
|
| 11 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
+
from typing import Any, Generic, Optional, Protocol, TypeVar, TYPE_CHECKING
|
| 10 |
+
|
| 11 |
+
from typing_extensions import TypedDict
|
| 12 |
|
| 13 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 14 |
|
src/core/openenv/core/env_server/interfaces.py
CHANGED
|
@@ -6,7 +6,9 @@
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
-
from typing import Any, Generic, Optional, Protocol,
|
|
|
|
|
|
|
| 10 |
|
| 11 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
+
from typing import Any, Generic, Optional, Protocol, TypeVar, TYPE_CHECKING
|
| 10 |
+
|
| 11 |
+
from typing_extensions import TypedDict
|
| 12 |
|
| 13 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 14 |
|
src/openenv/core/env_server/interfaces.py
CHANGED
|
@@ -6,7 +6,9 @@
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
-
from typing import Any, Generic, Optional, Protocol,
|
|
|
|
|
|
|
| 10 |
|
| 11 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
import inspect
|
| 8 |
from abc import ABC, abstractmethod
|
| 9 |
+
from typing import Any, Generic, Optional, Protocol, TypeVar, TYPE_CHECKING
|
| 10 |
+
|
| 11 |
+
from typing_extensions import TypedDict
|
| 12 |
|
| 13 |
from .types import Action, Observation, State, EnvironmentMetadata
|
| 14 |
|