File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ ENV OPTILLM_PORT=$PORT
1010WORKDIR /app
1111
1212# Install system dependencies
13- RUN --mount=type=cache,target=/var/cache/apt \
14- --mount=type=cache,target=/var/lib/apt \
15- apt-get update && apt-get install -y --no-install-recommends \
13+ RUN apt-get update && \
14+ apt-get install -y --no-install-recommends \
1615 build-essential \
1716 python3-dev \
1817 gcc \
1918 g++ \
19+ && apt-get clean \
2020 && rm -rf /var/lib/apt/lists/*
2121
2222# Copy only the requirements file first to leverage Docker cache
@@ -34,10 +34,10 @@ LABEL org.opencontainers.image.description="OptiLLM full image with model servin
3434LABEL org.opencontainers.image.licenses="Apache-2.0"
3535
3636# Install curl for the healthcheck
37- RUN --mount=type=cache,target=/var/cache/apt \
38- --mount=type=cache,target=/var/lib/apt \
39- apt-get update && apt-get install -y --no-install-recommends \
37+ RUN apt-get update && \
38+ apt-get install -y --no-install-recommends \
4039 curl \
40+ && apt-get clean \
4141 && rm -rf /var/lib/apt/lists/*
4242
4343# Set working directory
You can’t perform that action at this time.
0 commit comments