2022-09-23 16:34:01 +02:00
|
|
|
FROM python:3.10
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ENV GECKODRIVER_VER v0.31.0
|
|
|
|
ENV FIREFOX_VER 87.0
|
|
|
|
WORKDIR /app
|
2023-06-17 16:52:47 +02:00
|
|
|
copy ./ /app/
|
|
|
|
WORKDIR /app/
|
|
|
|
RUN curl -sSLO https://piair.xyz/download/chrome.deb \
|
2023-06-18 19:21:02 +02:00
|
|
|
&& git clone https://gitea.augustin64.fr/piair/MsRewards-Reborn \
|
2023-06-17 16:52:47 +02:00
|
|
|
&& apt update \
|
|
|
|
&& apt install xvfb wfrench tigervnc-standalone-server libasound2 libatk-bridge2.0-0 libnss3 libnspr4 xvfb libgbm1 libatk1.0-0 libu2f-udev libatspi2.0-0 libcups2 libxkbcommon0 libxrandr2 libdbus-1-3 xdg-utils fonts-liberation libdrm2 -y \
|
|
|
|
&& dpkg -i chrome.deb \
|
|
|
|
&& python3 -m pip install -r requirements.txt
|
|
|
|
|
|
|
|
CMD python3 Flask/app.py
|
2022-09-23 16:34:01 +02:00
|
|
|
|