webscraper/app/Dockerfile
paprykdev f65292d891
Some checks are pending
Docker Image CI / build (push) Waiting to run
feat: seperate all logic into small methods
2024-11-13 23:56:43 +01:00

16 lines
428 B
Docker

FROM python:3.9-slim
WORKDIR /usr/src/app
COPY requirements.txt .
RUN pip install --trusted-host pypi.python.org -r requirements.txt
COPY . .
RUN apt-get update && apt-get install -y wget unzip && \
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt install -y ./google-chrome-stable_current_amd64.deb && \
rm ./google-chrome-stable_current_amd64.deb && \
apt-get clean