zzz / Dockerfile
ar08's picture
Update Dockerfile
2bc414a verified
raw
history blame
482 Bytes
# 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"]