FallnAI/Autonomous-Software-Developer
0
1# Use a base image with Python 3.10 and CUDA for GPU support2FROM python:3.10-slim3 4# Install system dependencies for Docker and Git5RUN apt-get update && apt-get install -y \6 curl \7 git \8 build-essential \9 libffi-dev \10 libssl-dev \11 && rm -rf /var/lib/apt/lists/*12 13# Install Docker inside the container14RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh15RUN usermod -aG docker www-data16 17# Set the working directory18WORKDIR /app19 20# Copy the application files21COPY . /app22 23# Install Python dependencies24# We use --no-cache-dir to save space25RUN pip install --no-cache-dir -r requirements.txt26 27# Expose the port for the Flask application28EXPOSE 786029 30# Command to run the application31CMD ["bash", "run.sh"]32 