File size: 648 Bytes
1281a0c
15d5fb0
a62d987
15d5fb0
a62d987
 
 
15d5fb0
dcd88f3
23df43f
8e9ee7d
8579734
 
 
 
 
 
e03ec2f
15d5fb0
 
8318ccf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.9

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

RUN mkdir downloaded_files && chmod 777 downloaded_files
RUN chmod 777 /usr/local/lib/python3.9/site-packages/seleniumbase/drivers/uc_driver

# RUN apt-get update
# RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# RUN wget https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.91/linux64/chromedriver-linux64.zip
# RUN apt install -y ./google-chrome-stable_current_amd64.deb

RUN seleniumbase get chromedriver

COPY . .

CMD ["python", "app/main.py"]