Commit c2f544e4 authored by 龚子荣's avatar 龚子荣

update images

parent b5810d27
File added
# Default ignored files
/shelf/
/workspace.xml
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N806" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="main.operations" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/python3.8.12-image-search.iml" filepath="$PROJECT_DIR$/.idea/python3.8.12-image-search.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
\ No newline at end of file
From python:3.8.12
WORKDIR /app
COPY . /app
RUN mkdir -p /root/.keras/models && mv /app/model/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5 /root/.keras/models/
RUN apt-get update
RUN apt-get install -y libsm6 libxext6 libxrender-dev libgl1-mesa-glx
RUN python3 -m pip install pymilvus==1.1.2
RUN python3 -m pip install diskcache==5.2.1
RUN python3 -m pip install uvicorn==0.13.4
RUN python3 -m pip install PyMySQL==1.0.2
RUN python3 -m pip install paddlepaddle==2.1.0
RUN python3 -m pip install tensorflow==2.5.1
RUN python3 -m pip install opencv_python==4.5.2.54
RUN python3 -m pip install numpy==1.19.5
RUN python3 -m pip install pydantic==1.8.2
RUN python3 -m pip install fastapi==0.65.2
RUN python3 -m pip install PyYAML==5.4.1
RUN python3 -m pip install python-multipart
RUN python3 -m pip install aiofiles
RUN python3 -m pip install pillow==8.2.0
# Default ignored files
/shelf/
/workspace.xml
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N806" />
</list>
</option>
</inspection_tool>
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="main.operations" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/python3.8.12-image-search.iml" filepath="$PROJECT_DIR$/.idea/python3.8.12-image-search.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
\ No newline at end of file
From python:3.8.12 From python:3.8.12
WORKDIR /app
COPY . /app
RUN mkdir -p /root/.keras/models && mv /app/model/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5 /root/.keras/models/
RUN apt-get update RUN apt-get update
RUN apt-get install -y libsm6 libxext6 libxrender-dev libgl1-mesa-glx
RUN python3 -m pip install pymilvus==2.0.0rc6 RUN python3 -m pip install pymilvus==2.0.0rc6
RUN python3 -m pip install diskcache==5.2.1 RUN python3 -m pip install diskcache==5.2.1
RUN python3 -m pip install uvicorn==0.13.4 RUN python3 -m pip install uvicorn==0.13.4
...@@ -16,3 +22,4 @@ RUN python3 -m pip install python-multipart ...@@ -16,3 +22,4 @@ RUN python3 -m pip install python-multipart
RUN python3 -m pip install aiofiles RUN python3 -m pip install aiofiles
RUN python3 -m pip install pillow==8.2.0 RUN python3 -m pip install pillow==8.2.0
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 to comment