Commit c377ac08 authored by wang's avatar wang

1

parent 74c31bbe
Pipeline #452 canceled with stages
FROM python:3.10.1-slim-bullseye
RUN mkdir -p "/home/opt/lcc-5s"
RUN apt update &&apt install curl -y
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt install nodejs
COPY src/ /home/opt/lcc-y4/src
ADD package-lock.json package.json /home/opt/lcc-5s/
WORKDIR /home/opt/lcc-y4/
RUN cd /home/opt/lcc-y4/ && npm i
RUN sed -i "s/'all'/'asll'/g" /home/opt/lcc-y4/node_modules/nwsapi/src/nwsapi.js
WORKDIR /home/opt/lcc-y4/src
RUN pip3 install requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
CMD ["python3", "main.py"]
......@@ -2,4 +2,9 @@
```angular2html
需要保持 UA一致
```
```
docker run
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment