Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
🎈 Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shamhi committed Jun 28, 2024
1 parent f5a7d99 commit 32a5cf9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
FROM python:3.10.11-alpine3.18
FROM python:3.11.4-slim

WORKDIR /app

COPY . /app

RUN apt update && apt install -y \
wget \
curl \
gnupg \
apt-transport-https \
ca-certificates

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' && \
apt update && \
apt install -y google-chrome-stable && \
apt clean

RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt

RUN apk add --no-cache firefox

CMD ["python3", "main.py", "-a", "2"]

0 comments on commit 32a5cf9

Please sign in to comment.