📜  不在 docker build 上重新安装包 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:46.001000             🧑  作者: Mango

代码示例1
FROM my/base

WORKDIR /srv
ADD ./requirements.txt /srv/requirements.txt
RUN pip install -r requirements.txt
ADD . /srv
RUN python setup.py install

ENTRYPOINT ["run_server"]