first deploy
This commit is contained in:
15
dockerfile
Normal file
15
dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user