change to flstapi
This commit is contained in:
@@ -13,11 +13,11 @@ RUN set -ex \
|
||||
|
||||
# reference -> https://playwright.dev/python/docs/ci#via-containers
|
||||
RUN python -m pip install --upgrade pip \
|
||||
&& pip install Flask gevent xhs playwright \
|
||||
&& pip install fastapi uvicorn xhs playwright \
|
||||
&& rm -rf /var/lib/apt/lists/*ç
|
||||
|
||||
RUN curl --insecure -L -o stealth.min.js https://cdn.jsdelivr.net/gh/requireCool/stealth.min.js/stealth.min.js
|
||||
|
||||
EXPOSE 5005
|
||||
|
||||
CMD [ "python", "-m" , "flask", "run", "--host=0.0.0.0", "--port=5005"]
|
||||
CMD [ "python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5005"]
|
||||
Reference in New Issue
Block a user