File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.8-slim
1+ FROM cloudforet/ python-core:1
22
33ENV PYTHONUNBUFFERED 1
4- ENV SPACEONE_PORT 50051
4+ ENV CLOUDONE_PORT 50051
55ENV SERVER_TYPE grpc
66ENV PKG_DIR /tmp/pkg
77ENV SRC_DIR /tmp/src
@@ -11,15 +11,15 @@ RUN apt update && apt upgrade -y
1111COPY pkg/*.txt ${PKG_DIR}/
1212RUN pip install --upgrade pip && \
1313 pip install --upgrade --use-deprecated=legacy-resolver -r ${PKG_DIR}/pip_requirements.txt && \
14- pip install --upgrade --pre spaceone-core spaceone-api
14+ pip install --upgrade spaceone-api
1515
1616COPY src ${SRC_DIR}
1717
1818WORKDIR ${SRC_DIR}
1919RUN python3 setup.py install && \
2020 rm -rf /tmp/*
2121
22- EXPOSE ${SPACEONE_PORT }
22+ EXPOSE ${CLOUDONE_PORT }
2323
2424ENTRYPOINT ["spaceone" ]
2525CMD ["grpc" , "spaceone.monitoring" ]
Original file line number Diff line number Diff line change 1- spaceone-core
2- spaceone-api
3- boto3
41schematics
Original file line number Diff line number Diff line change 3131 license = 'Apache License 2.0' ,
3232 packages = find_packages (),
3333 install_requires = [
34- 'spaceone-core' ,
3534 'spaceone-api' ,
36- 'spaceone-tester' ,
3735 'schematics' ,
38- 'boto3'
3936 ],
4037 zip_safe = False ,
4138)
You can’t perform that action at this time.
0 commit comments