openenv-testing/julia_env-pr-170
0
1# Copyright (c) Meta Platforms, Inc. and affiliates.2# All rights reserved.3#4# This source code is licensed under the BSD-style license found in the5# LICENSE file in the root directory of this source tree.6 7# Use the specified openenv-base image8FROM ghcr.io/meta-pytorch/openenv-base:latest9 10# Copy only what's needed for this environment11COPY src/core/ /app/src/core/12COPY src/envs/julia_env/ /app/src/envs/julia_env/13 14# Health check15HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \16 CMD curl -f http://localhost:8000/health || exit 117 18# Run the FastAPI server19CMD ["uvicorn", "envs.julia_env.server.app:app", "--host", "0.0.0.0", "--port", "8000"]20ENV ENABLE_WEB_INTERFACE=true21 