first deploy

This commit is contained in:
YuanYu committed 2023-08-27 02:36:05 +08:00
commit 245486b95c
7 files changed
+160

No files matched your search

+15
View 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