Commit 4f0eab6c by xuxingxing

add dockerfile

parent 47c6ed97
Showing with 12 additions and 0 deletions
......@@ -15,3 +15,5 @@ curl --location --request POST 'http://127.0.0.1:5001/predict' \
"url": "https://dianlv-res.oss-cn-shenzhen.aliyuncs.com/exportFiles/1_265261960876529885.jpg",
"tenantID": 1
}'
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" ]
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 sign in to comment