Skip to content

Commit

Permalink
feat: update Dockerfile to install Google Chrome and wget (#3623)
Browse files Browse the repository at this point in the history
* feat: update Dockerfile to install Google Chrome and wget

* chore: update harvester dependency to version 0.5.0 in pyproject.toml and uv.lock
  • Loading branch information
derkweijers authored Nov 19, 2024
1 parent 82bb1b3 commit dcd179d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ RUN uv sync --frozen --no-dev
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim

# Update the package os dependencies
RUN apt-get update && apt-get upgrade -y
RUN apt-get update && apt-get upgrade -y && apt-get install wget -y
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install google-chrome-stable

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"pyyaml>=6.0.2",
"sentry-sdk>=2.14.0",
"uritemplate>=4.1.1",
"harvester>=0.4.0",
"harvester>=0.5.0",
]

[tool.uv]
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dcd179d

Please sign in to comment.