some fixes

This commit is contained in:
piair 2023-06-18 22:08:16 +02:00
parent 9b237c7ebf
commit 70696ee91b
3 changed files with 2 additions and 5 deletions

View File

@ -3,8 +3,6 @@ FROM python:3.10
ENV DEBIAN_FRONTEND noninteractive
ENV GECKODRIVER_VER v0.31.0
ENV FIREFOX_VER 87.0
WORKDIR /app
copy ./ /app/
WORKDIR /app/
RUN curl -sSLO https://piair.xyz/download/chrome.deb \
&& git clone https://gitea.augustin64.fr/piair/MsRewards-Reborn \
@ -12,6 +10,6 @@ RUN curl -sSLO https://piair.xyz/download/chrome.deb \
&& 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
WORKDIR /app/MsRewards-Reborn
CMD python3 Flask/app.py

View File

@ -374,4 +374,4 @@ def maxi(dict):
if __name__ == '__main__':
app.run(host='0.0.0.0', port=3456, debug=True)
app.run(host='0.0.0.0', port=1234, debug=True)

View File

@ -3,6 +3,5 @@
echo "Enter the name of the instance"
read name
sudo docker build -t msrewards .
sudo docker run -p 1234:1234 --shm-size=2gb --name $name msrewards