Skip to content

Commit 5473c40

Browse files
Refactor Dockerfile: streamline installation of poppler-utils by removing redundant commands
1 parent b5549a0 commit 5473c40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ContentProcessor/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
FROM mcr.microsoft.com/devcontainers/python:3.12-bullseye AS base
22
WORKDIR /app
33

4+
# Remove yarn repo and install poppler-utils
45
RUN rm -f /etc/apt/sources.list.d/yarn.list && \
56
apt-get update && \
67
apt-get install -y poppler-utils && \
78
rm -rf /var/lib/apt/lists/*
89

9-
# Install poppler-utils
10-
RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/*
1110
FROM base AS builder
1211

1312
COPY --from=ghcr.io/astral-sh/uv:0.6.3 /uv /uvx /bin/

0 commit comments

Comments
 (0)