Commit c1e32fae authored by wang's avatar wang

111

parent 4cf5c05b
......@@ -21,9 +21,8 @@ COPY src/httpUtil.js /home/opt/lcc-wn/httpUtil.js
COPY src/tls-client-linux-ubuntu-amd64-v1.7.2.so /home/opt/lcc-wn/tls-client-linux-ubuntu-amd64-v1.7.2.so
COPY src/main.py /home/opt/lcc-wn/main.py
WORKDIR /home/opt/lcc-wn
RUN pm2 start main.py --name tr --interpreter python3 --restart-delay=21600
CMD ["sleep", "6h"]
COPY src/run.sh /home/opt/lcc-wn/run.sh
CMD ["sh", "/home/opt/lcc-wn/run.sh"]
pm2 start main.py --name tr --interpreter python3 --restart-delay=21600
sleep 6h
\ 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