tst / Dockerfile
ahmetalper's picture
Update Dockerfile
8579734 verified
raw
history blame
No virus
566 Bytes
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 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"]