Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
8bb93b33
Commit
8bb93b33
authored
Sep 02, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws 测试
parent
4135a43e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Dockerfile
ws/Dockerfile
+3
-3
run.sh
ws/src/run.sh
+2
-0
No files found.
ws/Dockerfile
View file @
8bb93b33
...
...
@@ -12,13 +12,13 @@ COPY src/package-lock.json /home/opt/lcc-ws/package-lock.json
# RUN npm config set registry https://registry.npmmirror.com
RUN
cd
/home/opt/lcc-ws/
&&
npm i
RUN
cd
/home/opt/lcc-ws/
&&
npm i
-g
pm2
COPY
src/jsdom /home/opt/lcc-ws/jsdom
COPY
src/js_dom_run.js /home/opt/lcc-ws/js_dom_run.js
#
COPY src/js_dom_run.js /home/opt/lcc-ws/js_dom_run.js
COPY
src/httpUtil.js /home/opt/lcc-ws/httpUtil.js
COPY
src/tls-client-linux-ubuntu-amd64-v1.7.2.so /home/opt/lcc-ws/tls-client-linux-ubuntu-amd64-v1.7.2.so
COPY
src/main.py /home/opt/lcc-ws/main.py
COPY
src/src.js /home/opt/lcc-ws/src.js
#
COPY src/src.js /home/opt/lcc-ws/src.js
COPY
src/src2.js /home/opt/lcc-ws/src2.js
COPY
src/run.sh /home/opt/lcc-ws/run.sh
#CMD ["sh", "/home/opt/lcc-ws/run.sh"]
...
...
ws/src/run.sh
0 → 100644
View file @
8bb93b33
pm2 start main.py
--name
tr
--interpreter
python3
--restart-delay
=
21600
sleep
6h
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment