forked from LoneKnightz/Bing-Auto-Search
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
25 lines (20 loc) · 982 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ARG version=16.16.0-alpine
FROM node:${version}
ENV BingAutoSearch_MicroSoft_COOKIE='' \
BingAutoSearch_sleep_sec='' \
BingAutoSearch_proxy="" \
BingAutoSearch_edgeUserAgent="" \
BingAutoSearch_mobileUserAgent="" \
BingAutoSearch_wordlists=""
WORKDIR /Bing-Auto-Search
RUN npm install -y --save axios https-proxy-agent
CMD wget -O Bing-Auto-Search.js https://raw.githubusercontent.com/emtry/Bing-Auto-Search/main/Bing-Auto-Search.js \
&& wget -O sendNotify.js https://raw.githubusercontent.com/emtry/Bing-Auto-Search/main/sendNotify.js \
&& clear \
&& BingAutoSearch_MicroSoft_COOKIE=$BingAutoSearch_MicroSoft_COOKIE \
BingAutoSearch_sleep_sec=$BingAutoSearch_sleep_sec \
BingAutoSearch_proxy=$BingAutoSearch_proxy \
BingAutoSearch_edgeUserAgent=$BingAutoSearch_edgeUserAgent \
BingAutoSearch_mobileUserAgent=$BingAutoSearch_mobileUserAgent \
BingAutoSearch_wordlists=$BingAutoSearch_wordlists \
node Bing-Auto-Search.js