mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
Optimize Docker image by cleaning apt cache after installing dependencies
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
FROM python:3.12.10-slim AS base
|
||||
|
||||
RUN apt update && apt install --no-install-recommends -y git curl && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt update && apt install --no-install-recommends -y git curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
ADD pyproject.toml .
|
||||
|
Reference in New Issue
Block a user