Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- server/app.py +1 -1
Dockerfile
CHANGED
|
@@ -22,7 +22,7 @@ RUN apt-get update && \
|
|
| 22 |
|
| 23 |
# Build argument to control whether we're building standalone or in-repo
|
| 24 |
ARG BUILD_MODE=in-repo
|
| 25 |
-
ARG ENV_NAME=
|
| 26 |
|
| 27 |
# Copy environment code (always at root of build context)
|
| 28 |
COPY . /app/env
|
|
|
|
| 22 |
|
| 23 |
# Build argument to control whether we're building standalone or in-repo
|
| 24 |
ARG BUILD_MODE=in-repo
|
| 25 |
+
ARG ENV_NAME=code_assessment_env
|
| 26 |
|
| 27 |
# Copy environment code (always at root of build context)
|
| 28 |
COPY . /app/env
|
server/app.py
CHANGED
|
@@ -48,7 +48,7 @@ app = create_app(
|
|
| 48 |
CodeAssessmentEnvironment,
|
| 49 |
CodeAssessmentAction,
|
| 50 |
CodeAssessmentObservation,
|
| 51 |
-
env_name="
|
| 52 |
max_concurrent_envs=1, # increase this number to allow more concurrent WebSocket sessions
|
| 53 |
)
|
| 54 |
|
|
|
|
| 48 |
CodeAssessmentEnvironment,
|
| 49 |
CodeAssessmentAction,
|
| 50 |
CodeAssessmentObservation,
|
| 51 |
+
env_name="code_assessment_env",
|
| 52 |
max_concurrent_envs=1, # increase this number to allow more concurrent WebSocket sessions
|
| 53 |
)
|
| 54 |
|