Update Dockerfile

test (wasn't really working )
This commit is contained in:
piair338 2022-11-06 18:09:15 +01:00 committed by GitHub
parent bf675f8c96
commit 3189359b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 14 deletions

View File

@ -11,19 +11,12 @@ RUN set -x \
&& apt install -y \
wfrench \
git \
&& pip install \
requests \
selenium \
argparse \
discord \
configparser \
asyncio \
enquiries \
mysql-connector \
&& git clone https://github.com/piair338/MsReward
# Add latest FireFox
RUN set -x \
&& git clone https://github.com/piair338/MsRewards \
&& pip install -r MsRewards/requirements.txt \
# Add working FireFox
&& apt install -y \
libx11-xcb1 \
libdbus-glib-1-2 \
@ -31,10 +24,10 @@ RUN set -x \
&& tar -jxf firefox-* \
&& mv firefox /opt/ \
&& chmod 755 /opt/firefox \
&& chmod 755 /opt/firefox/firefox
&& chmod 755 /opt/firefox/firefox \
# Add geckodriver
RUN set -x \
&& curl -sSLO https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VER}/geckodriver-${GECKODRIVER_VER}-linux64.tar.gz \
&& tar zxf geckodriver-*.tar.gz \
&& mv geckodriver /usr/bin/