Commit dceb7431 authored by wang's avatar wang

1

parent c377ac08
Pipeline #453 canceled with stages
......@@ -4,10 +4,10 @@ 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/
#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
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
RUN pip3 install requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
......
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