edwagbb commited on
Commit
16d5617
·
1 Parent(s): 5f18352

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,8 +1,9 @@
1
  FROM python:3-slim
2
 
3
- RUN pip install cloudscraper && \
4
  apt-get update -y && \
5
  apt-get install -y nodejs libnode108 && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
- CMD python -c "import cloudscraper;scraper = cloudscraper.create_scraper(interpreter='nodejs');print(scraper.get('https://chat-shared3.zhile.io/auth/login').content.decode())"
 
 
1
  FROM python:3-slim
2
 
3
+ RUN pip install cloudscraper Flask requests && \
4
  apt-get update -y && \
5
  apt-get install -y nodejs libnode108 && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
+ COPY proxy.py /proxy.py
9
+ CMD python /proxy.py