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
4f0eab6c
authored
Dec 10, 2024
by
xuxingxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dockerfile
parent
47c6ed97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
README
dockerfile
README
View file @
4f0eab6c
...
...
@@ -14,4 +14,6 @@ curl --location --request POST 'http://127.0.0.1:5001/predict' \
--data-raw '{
"url": "https://dianlv-res.oss-cn-shenzhen.aliyuncs.com/exportFiles/1_265261960876529885.jpg",
"tenantID": 1
}'
\ No newline at end of file
}'
dockerfile
0 → 100644
View file @
4f0eab6c
FROM
python:3.11.4-slim
RUN
rm
-rf
/admin/app/
*
COPY
. /admin/app
RUN
mkdir
-p
/admin/logs/
\
&&
pip3 install
-r
requirements.txt
CMD
["python3", "/admin/app/app.py" ]
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