Skip to content

Commit 9dfa680

Browse files
committed
fest:test
1 parent 4db1dea commit 9dfa680

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ FROM python:3.9-bullseye
22

33
WORKDIR /app
44

5-
RUN apt-get update && apt-get install -y openjdk-11-jdk && apt-get clean
6-
RUN apt-get update && apt-get install -y chromium unzip curl \
7-
&& curl -sSL https://chromedriver.storage.googleapis.com/120.0.6099.224/chromedriver_linux64.zip -o /tmp/chromedriver.zip \
8-
&&unzip /tmp/chromedriver.zip -d /usr/bin \
9-
&& rm /tmp/chromedriver.zip
5+
RUN apt-get update && apt-get install -y openjdk-11-jdk chromium && apt-get clean
106

117
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
128
ENV PATH=$JAVA_HOME/bin:$PATH
139

1410
COPY requirements.txt .
15-
RUN pip install -r requirements.txt
11+
RUN pip install -r requirements.txt \
12+
&& pip install --upgrade selenium
1613

1714
COPY . .
1815

0 commit comments

Comments
 (0)