some fixes
This commit is contained in:
parent
9b237c7ebf
commit
70696ee91b
|
@ -3,8 +3,6 @@ FROM python:3.10
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV GECKODRIVER_VER v0.31.0
|
ENV GECKODRIVER_VER v0.31.0
|
||||||
ENV FIREFOX_VER 87.0
|
ENV FIREFOX_VER 87.0
|
||||||
WORKDIR /app
|
|
||||||
copy ./ /app/
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
RUN curl -sSLO https://piair.xyz/download/chrome.deb \
|
RUN curl -sSLO https://piair.xyz/download/chrome.deb \
|
||||||
&& git clone https://gitea.augustin64.fr/piair/MsRewards-Reborn \
|
&& 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 \
|
&& 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 \
|
&& dpkg -i chrome.deb \
|
||||||
&& python3 -m pip install -r requirements.txt
|
&& python3 -m pip install -r requirements.txt
|
||||||
|
WORKDIR /app/MsRewards-Reborn
|
||||||
CMD python3 Flask/app.py
|
CMD python3 Flask/app.py
|
||||||
|
|
||||||
|
|
|
@ -374,4 +374,4 @@ def maxi(dict):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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)
|
1
build.sh
1
build.sh
|
@ -3,6 +3,5 @@
|
||||||
echo "Enter the name of the instance"
|
echo "Enter the name of the instance"
|
||||||
read name
|
read name
|
||||||
|
|
||||||
|
|
||||||
sudo docker build -t msrewards .
|
sudo docker build -t msrewards .
|
||||||
sudo docker run -p 1234:1234 --shm-size=2gb --name $name msrewards
|
sudo docker run -p 1234:1234 --shm-size=2gb --name $name msrewards
|
||||||
|
|
Loading…
Reference in New Issue