You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 1.1 kB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 2021 The KubeEdge Authors.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. FROM python:3.9-slim
  15. RUN pip install colorlog~=4.7.2
  16. RUN pip install PyYAML~=5.4.1
  17. RUN pip install fastapi~=0.63.0
  18. RUN pip install starlette~=0.13.6
  19. RUN pip install pydantic~=1.8.1
  20. RUN pip install joblib~=1.2.0
  21. RUN pip install pandas
  22. RUN pip install uvicorn~=0.14.0
  23. RUN pip install python-multipart~=0.0.5
  24. RUN pip install SQLAlchemy~=1.4.7
  25. RUN pip install aiofiles~=0.7.0
  26. RUN mkdir /code
  27. ENV PYTHONPATH "/code/lib"
  28. COPY ./lib /code/lib
  29. ENTRYPOINT ["python", "/code/lib/sedna/service/run_kb.py"]