File size: 482 Bytes
bd35691 2bc414a 8c0ea63 49f969b 8c0ea63 11d10b9 bd35691 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# Use the specified base image
FROM ghcr.io/opendevin/opendevin
# Set working directory
WORKDIR /app
# Copy requirements file
COPY ./requirements.txt /app/requirements.txt
# 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"]
|