Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-reese84
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
lcc-reese84
Commits
cf0e408e
Commit
cf0e408e
authored
Sep 20, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
d4422d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
cf0e408e
...
@@ -2,10 +2,7 @@ FROM python:3.10.1-slim-bullseye
...
@@ -2,10 +2,7 @@ FROM python:3.10.1-slim-bullseye
RUN
apt update
&&
apt
install
curl
-y
RUN
apt update
&&
apt
install
curl
-y
RUN
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
RUN
curl
-fsSL
https://deb.nodesource.com/setup_18.x | bash -
RUN
apt
install
nodejs vim
-y
RUN
apt
install
nodejs vim
-y
COPY
src/ /home/opt/lcc-reese84/src
#ADD package-lock.json package.json /home/opt/lcc-5s/
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
RUN
sed
-i
"s/'all'/'asll'/g"
/home/opt/lcc-reese84/src/node_modules/nwsapi/src/nwsapi.js
WORKDIR
/home/opt/lcc-reese84/src
WORKDIR
/home/opt/lcc-reese84/src
RUN
pip3
install
requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
RUN
pip3
install
requests loguru curl_cffi tls_client pyquery nacos-sdk-python pyyaml
...
@@ -13,7 +10,10 @@ RUN sed -i "s/\"Accep/#\"Accep/g" /usr/local/lib/python3.10/site-packages/tls_cl
...
@@ -13,7 +10,10 @@ RUN sed -i "s/\"Accep/#\"Accep/g" /usr/local/lib/python3.10/site-packages/tls_cl
RUN
sed
-i
's/typing_extensions/typing/g'
/usr/local/lib/python3.10/site-packages/tls_client/settings.py
RUN
sed
-i
's/typing_extensions/typing/g'
/usr/local/lib/python3.10/site-packages/tls_client/settings.py
RUN
npm i
-g
pm2 canvas
RUN
npm i
-g
pm2 canvas
COPY
src/ /home/opt/lcc-reese84/src
#ADD package-lock.json package.json /home/opt/lcc-5s/
WORKDIR
/home/opt/lcc-reese84/
RUN
cd
/home/opt/lcc-reese84/src
&&
npm i
#CMD ["python3", "main.py"]
#CMD ["python3", "main.py"]
CMD
["sh", "/home/opt/lcc-reese84/src/run.sh"]
CMD
["sh", "/home/opt/lcc-reese84/src/run.sh"]
...
...
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