# Use the specified base image | |
FROM ghcr.io/opendevin/opendevin | |
# Set working directory | |
WORKDIR /app | |
# Copy requirements file | |
COPY ./opendevin /app/ | |
# Copy the rest of the application files | |
COPY . . | |
# Install dependencies from requirements.txt | |
RUN python -m pip install --no-cache-dir -r requirements.txt | |
# Expose the application port | |
EXPOSE 3000 | |
# Default command to run the application | |
CMD ["uvicorn", "opendevin.server.listen:app", "--port", "3000"] | |