Dockerfile 431 B

1234567891011121314151617181920
  1. from python:3.12-bookworm
  2. ENV OPENAI_API_KEY=""
  3. ENV OPENAI_MODEL="gpt-4-0125-preview"
  4. RUN git config --global user.email "devin@opendevin.com"
  5. RUN git config --global user.name "Devin Abierto"
  6. RUN apt-get update
  7. RUN apt-get install -y git sudo curl
  8. WORKDIR /app
  9. COPY requirements.txt ./requirements.txt
  10. RUN python -m pip install -r requirements.txt
  11. WORKDIR /workspace
  12. CMD ["python", "/app/opendevin/main.py", "/workspace"]