Tag: docker py.test docker

在Docker容器中运行py.test作为服务

我正在build立一个dockerisedselenium电网。 我可以通过附加的pytest容器(见下面)发送pythontesting[pytest运行]。 但是我已经安装了另一个要控制pytest的LAMP容器。 所以我想让pytest容器独立运行,运行空闲并等待来自LAMP容器的命令。 我有这个Dockerfile: # Starting from base image FROM ubuntu #—————————————————– # Set the Github personal token ENV GH_TOKEN blablabla # Install Python & pip RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y python python-pip python-dev && pip install –upgrade pip # Install nano for #debugging RUN apt-get install -y […]