version: "3" services: webdoc: build: . container_name: gregandoc volumes: - ${PWD}/doc:/docs entrypoint: "" command: ["sh", "-c", "pip install -r ./requirements.txt && mkdocs serve --dev-addr=0.0.0.0:8000"] ports: - "8000:8000"