netflix-clicker/dockerfile
2023-08-27 02:36:05 +08:00

15 lines
405 B
Plaintext

from selenium/standalone-chrome
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