docker build --rm -t jieay/python-comm:3.6 .
docker build --rm -t jieay/python-comm:3.6 -f Dockerfile.36 .
1、系统镜像临时使用
docker run -it jieay/python-comm:3.6 bash
2、业务镜像制作和使用
FROM jieay/python-comm:3.6
WORKDIR /code
ADD . .
RUN pip install --no-cache-dir --trusted-host mirrors.aliyun.com -i \
https://mirrors.aliyun.com/pypi/simple/ -r requirements/requirement.txt \
&& chmod +x /code/*.sh
EXPOSE 11025
Content type
Image
Digest
sha256:a629e6f8e…
Size
153.2 MB
Last updated
over 3 years ago
docker pull jieay/python-comm:3.11-slim