Team Ai
Apppublic

Samra09/Physical_AI_Humanoid_Robotics

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
Dockerfile34 linesDownload Raw Back to root
1# Use an official Python runtime as a parent image2FROM python:3.9-slim3 4# Set environment variables5ENV PYTHONDONTWRITEBYTECODE 16ENV PYTHONUNBUFFERED 17 8# Set work directory9WORKDIR /app10 11# Install system dependencies12RUN apt-get update \13    && apt-get install -y --no-install-recommends \14        build-essential \15        gcc \16    && rm -rf /var/lib/apt/lists/*17 18# Copy requirements file19COPY requirements.txt .20 21# Install Python dependencies22RUN pip install --no-cache-dir -r requirements.txt23 24# Copy project25COPY . .26 27# Create logs directory28RUN mkdir -p logs29 30# Expose port31EXPOSE 800032 33# Run the application34CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "2"]