Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
openApi
/
image
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3366a04b
authored
Dec 10, 2024
by
xuxingxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmp code
parent
477d68ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
README
dockerfile
README
View file @
3366a04b
...
...
@@ -16,4 +16,11 @@ curl --location --request POST 'http://127.0.0.1:5001/predict' \
"tenantID": 1
}'
4.
docker build -t image_v1 .
5.后台运行
docker run -d image_v1 -p 5001:5001 -name image -it /bin/bash
6.注意事项
打包需要的磁盘比较多
\ No newline at end of file
dockerfile
View file @
3366a04b
FROM
python:3.11.4-slim
FROM
registry.cn-shenzhen.aliyuncs.com/xcxiaoan/
python:3.11.4-slim
RUN
rm
-rf
/admin/app/
*
COPY
. /admin/app
...
...
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