Files
netflix-clicker/dockerfile
2025-04-19 22:02:51 +08:00

15 lines
412 B
Plaintext

FROM selenium/standalone-chrome:4.17.0
USER root
RUN useradd -ms /bin/bash netflix
RUN apt update && apt install software-properties-common -y
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt install -y \
python3.11 \
curl
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
COPY --chown=netflix:netflix . /app
WORKDIR /app
RUN pip install -r requirements.txt
USER root
CMD python3.11 mail_server.py