2023-10-12 14:56:30 +00:00
|
|
|
FROM python:3.10
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir --upgrade pip && \
|
2023-10-19 22:27:43 +00:00
|
|
|
pip install --no-cache-dir selenium-wire flask
|
2023-10-12 14:56:30 +00:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get -y install chromium
|
|
|
|
|
|
|
|
RUN mkdir /app
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
|
|
|
CMD ["python", "server.py"]
|