Commit f6df2d87 authored by wang's avatar wang

1

parent 13de3eb0
Pipeline #459 canceled with stages
......@@ -3,12 +3,12 @@ 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
COPY src/ /home/opt/lcc-reese84/src
#ADD package-lock.json package.json /home/opt/lcc-5s/
WORKDIR /home/opt/lcc-y4/
RUN cd /home/opt/lcc-y4/src && npm i
RUN sed -i "s/'all'/'asll'/g" /home/opt/lcc-y4/src/node_modules/nwsapi/src/nwsapi.js
WORKDIR /home/opt/lcc-y4/src
WORKDIR /home/opt/lcc-reese84/
RUN cd /home/opt/lcc-reese84/src && npm i
RUN sed -i "s/'all'/'asll'/g" /home/opt/lcc-reese84/src/node_modules/nwsapi/src/nwsapi.js
WORKDIR /home/opt/lcc-reese84/src
RUN pip3 install requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
CMD ["python3", "main.py"]
......
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