mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-19 17:34:45 +02:00
ouo
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -2,11 +2,13 @@ FROM python:3.10
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
WORKDIR /app/
|
||||
RUN curl -sSLO https://piair.xyz/download/chrome.deb \
|
||||
&& ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
||||
&& git clone https://gitea.augustin64.fr/piair/MsRewards-Reborn \
|
||||
&& python3 -m pip install -r MsRewards-Reborn/requirements.txt \
|
||||
&& 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 MsRewards-Reborn/requirements.txt
|
||||
&& apt install xvfb nano tzdata 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
|
||||
ENV TZ="Europe/Paris"
|
||||
WORKDIR /app/MsRewards-Reborn/
|
||||
CMD python3 Flask/app.py
|
||||
CMD python3 -u Flask/app.py
|
||||
|
||||
|
Reference in New Issue
Block a user