Ismail131's picture
Upload folder using huggingface_hub
034bfb8 verified
Raw
History Blame Contribute Delete
757 Bytes
FROM python:3.11-slim
# Set environment variables
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
LAST_BUILD=2026-03-28T18:32:00
WORKDIR /app
# Install system dependencies if any are needed for Solidity parsing or similar
# RUN apt-get update && apt-get install -y --no-install-recommends ...
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire environment codebase
COPY . .
# Expose the server port
EXPOSE 8000
# Start the environment server using uvicorn
# Note: we use 'server.app:app' here assuming the root is the working directory
ENV ENABLE_WEB_INTERFACE=true
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]