# Development Dockerfile FROM python:3.9 # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 # Set work directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ && rm -rf /var/lib/apt/lists/* # Install Python dependencies COPY requirements.txt requirements-dev.txt ./ RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements-dev.txt # Copy source code COPY src/ ./src/ # Expose port EXPOSE 8081 # Run the application CMD ["python", "src/main.py"]