From 2f3871fca35ce814c5d06162e1674378bb5dbc70 Mon Sep 17 00:00:00 2001 From: Piotr Pasza Storozenko Date: Mon, 29 Apr 2024 11:01:24 +0000 Subject: [PATCH] fix: back to installing playwright with poetry --- .devcontainer/devcontainer.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9e39379..56491e1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,9 +15,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // We install playwright this way to make browsers available for python playwright - // When running playwright install from python installation something breaks in devcontainer setup - "postCreateCommand": "poetry install && npm install playwright && npx playwright install --with-deps", + "postCreateCommand": "poetry install && poetry run playwright install --with-deps", // Configure tool-specific properties. "customizations": {