We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 336cb55 commit ee5ab80Copy full SHA for ee5ab80
modules/generic/README.rst
@@ -9,6 +9,7 @@ FastAPI container that is using :code:`ServerContainer`
9
10
>>> from testcontainers.generic import ServerContainer
11
>>> from testcontainers.core.waiting_utils import wait_for_logs
12
+ >>> from testcontainers.core.image import DockerImage
13
14
>>> with DockerImage(path="./modules/generic/tests/samples/fastapi", tag="fastapi-test:latest") as image:
15
... with ServerContainer(port=80, image=image) as fastapi_server:
0 commit comments