15 lines
405 B
Plaintext
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 |