Skip to content

Commit

Permalink
Update README.md and Dockerfile to only install chromium-driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnype committed Jul 3, 2024
1 parent e130758 commit 09a0386
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:$PYTHON_VERSION-slim

ARG USER=pydfy-user

RUN apt-get update && apt-get install -y chromium chromium-driver curl
RUN apt-get update && apt-get install -y chromium-driver curl
RUN curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.3/tailwindcss-linux-x64 && \
chmod +x tailwindcss-linux-x64 && \
mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ First, make sure `tailwindcss` is in your `PATH`, which for Linux means:
```shell
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64
chmod +x tailwindcss-linux-x64
mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
sudo mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
```
Check https://github.com/tailwindlabs/tailwindcss/releases/latest to find the matching binary for your system.

Also make sure to install Chromium:
```shell
apt-get update && apt-get install -y chromium # Example using apt-get
brew install --cask chromium # Homebrew example for macOS
apt-get update && apt-get install -y chromium-driver # Example using apt-get
brew install --cask chromium # Homebrew example for macOS
```

Now run:
Expand Down

0 comments on commit 09a0386

Please sign in to comment.