From f26fe491e9182745c6b4a56997dbd6cc6c466d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otto?= Date: Tue, 12 Nov 2024 23:16:12 +0100 Subject: [PATCH] Bind mount --- test/acceptance/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/acceptance/server.py b/test/acceptance/server.py index 23fd082..34cd5f8 100755 --- a/test/acceptance/server.py +++ b/test/acceptance/server.py @@ -38,7 +38,7 @@ def start_server(test_data_dir: str) -> str: 'docker', 'run', '--publish', '5001:5001', '--detach', - '--volume', f'{test_data_dir}:/AasxServerBlazor/aasxs', + '--mount', f'type=bind,src={test_data_dir},target=/AasxServerBlazor/aasxs', 'docker.io/adminshellio/aasx-server-blazor-for-demo:main', ]) return container_id.decode().strip()