Skip to content

Commit 7ed16db

Browse files
authored
Merge pull request #823 from PeterDaveHelloKitchen/ImproveDockerfile
Clean up cache files to reduce Docker image size
2 parents 2aac7ff + 4a0872b commit 7ed16db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM python:3.11-slim
22

3-
RUN apt-get update && apt-get upgrade -y
3+
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
44

5-
RUN pip install scrapegraphai
6-
RUN pip install scrapegraphai[burr]
5+
RUN pip install --no-cache-dir scrapegraphai
6+
RUN pip install --no-cache-dir scrapegraphai[burr]
77

88
RUN python3 -m playwright install-deps
99
RUN python3 -m playwright install

0 commit comments

Comments
 (0)