diff --git a/Dockerfile b/Dockerfile index e6144f0..5fb6450 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN apt install -y libgtk-4-1 libvulkan1 libxdamage1 \ # Additional repos and packages RUN wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb \ && dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb -RUN curl -sSLO https://nc.piair.xyz/s/BKLsBWoZkTdYjfq/download/chrome.deb \ +RUN curl -sSL http://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_123.0.6312.86-1_amd64.deb -o chrome.deb \ && dpkg -i chrome.deb RUN ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime RUN wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key \ @@ -25,12 +25,14 @@ RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyri RUN apt update \ && apt install -y redis grafana +COPY requirements.txt /app/requirements.txt +RUN python3 -m pip install -r requirements.txt + # Setup app RUN git clone https://gitea.augustin64.fr/piair/MsRewards-Reborn # Use this instead when developping locally: # COPY . /app/MsRewards-Reborn -RUN python3 -m pip install -r MsRewards-Reborn/requirements.txt RUN bash MsRewards-Reborn/config/config.sh ENV TZ="Europe/Paris"